Documentation
¶
Index ¶
- func Closest(pred [][][]float64, all [][][][]float64, truevalue [][][]float64) float64
- func Convolve(in [][]float64, k [][]float64, s int) (out [][]float64, err error)
- func Dot(x [][]float64, y [][]float64) (r [][]float64, err error)
- func HorzStack(x [][]float64, y [][]float64) [][]float64
- func MatAdd(m1 [][]float64, m2 [][]float64) ([][]float64, error)
- func MatMean(m [][]float64) float64
- func MatOp(m [][]float64, f MatOpF) [][]float64
- func MatSub(m1 [][]float64, m2 [][]float64) ([][]float64, error)
- func MatSum(m [][]float64) (out float64)
- func Max(in []float64) float64
- func MaxIndex(in [][]float64) (float64, int, int)
- func Mean(in []float64) float64
- func Normalize(in [][][][]float64) [][][][]float64
- func OutIndex(in [][][]float64) int
- func Padding(in [][]float64, s int) [][]float64
- func Rand(seq ...int) interface{}
- func Rand2D(y int, x int) [][]float64
- func Resize(matrix [][]float64, y int, x int) [][]float64
- func Rotate180(in [][]float64) [][]float64
- func Sum(in []float64) float64
- func Transpose(slice [][]float64) [][]float64
- func VertStack(x [][]float64, y [][]float64) [][]float64
- func Zeros(seq ...int) interface{}
- func Zeros2D(x int, y int) (out [][]float64)
- type MatOpF
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Closest ¶
Checks if the predicted value is the closest to the true value, returns 1 if true, 0 if false
func Rand ¶
func Rand(seq ...int) interface{}
Generate a multidimensional matrix with random numbers
Types ¶
Click to show internal directories.
Click to hide internal directories.