linear

package
v0.0.0-...-51fb139 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2016 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linear

type Linear struct {
	// contains filtered or unexported fields
}

func (*Linear) Initialise

func (ln *Linear) Initialise(x [][]float64, y []float64) error

func (*Linear) Predict

func (ln *Linear) Predict(x [][]float64) (predictions []float64)

func (*Linear) Train

func (ln *Linear) Train(iterations int, alpha float64) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL