logistic

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 Logistic

type Logistic struct {
	X     *mat64.Dense
	Y     *mat64.Dense
	Theta *mat64.Dense
}

func (*Logistic) Initialise

func (lg *Logistic) Initialise(x [][]float64, y []float64) error

func (*Logistic) Predict

func (lg *Logistic) Predict(x [][]float64) (predictions []float64)

func (*Logistic) Train

func (lg *Logistic) Train(iterations int, alpha float64) error

Jump to

Keyboard shortcuts

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