Documentation ¶
Index ¶
- func ComputeCost(data [][]float64, y []float64, theta []float64) (float64, error)
- func ComputeHypothesis(x []float64, theta []float64) float64
- func ComputeHypothesisVectorized(theta mat.Matrix, data mat.Matrix) mat.Matrix
- func LinearGradient(data [][]float64, y []float64, theta []float64, alpha float64, num_iters int, ...) ([]float64, error)
- func Normalize(input [][]float64) ([][]float64, []float64, []float64, error)
- type Data
- type Learner
- type Predictor
- type SliceLearner
- type SlicePredictor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeCost ¶
func ComputeHypothesis ¶
func LinearGradient ¶
Types ¶
type Learner ¶
func NewSliceLearner ¶
func NewSliceLearner() Learner
type SliceLearner ¶
type SliceLearner struct { }
type SlicePredictor ¶
func (*SlicePredictor) PredictOne ¶
func (p *SlicePredictor) PredictOne(ins []float64) float64
Click to show internal directories.
Click to hide internal directories.