Documentation ¶
Index ¶
- func Accuracy(y, pred []float64) float64
- func DotProduct(X *mat64.Dense, Y *mat64.Vector) *mat64.Dense
- func Log(X *mat64.Dense) *mat64.Dense
- func Plot(x [][]float64, y []float64, plotFile string) (err error)
- func PlotWithPredictions(x [][]float64, y, pred []float64, plotFile string) (err error)
- func ReadCSV(fileName string) (x [][]float64, y []float64, err error)
- func SigmoidMatrix(X *mat64.Dense) *mat64.Dense
- func Subtract(x float64, A *mat64.Dense) *mat64.Dense
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PlotWithPredictions ¶
func SigmoidMatrix ¶
Apply simoid function on every element of the matrix
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.