Documentation ¶
Index ¶
- func DumpImage(imgs Images, index int, fname string) error
- func ErrorRate(predictions, labels []float64) float64
- func GenXor(n int, stdDev float64) (data_points [][]float64, labels []float64)
- func ReLu(x float64) float64
- func Sigmoid(x float64) float64
- func UnitStep(x float64) float64
- type Images
- type Labels
- type Mlp
- func (mlp *Mlp) Adapt(input, target []float64, learning_rate float64)
- func (mlp *Mlp) ComputeActivation(input []float64) (output []float64, activations []*mat.Dense, net_activations []*mat.Dense)
- func (mlp *Mlp) GenTestData()
- func (mlp *Mlp) SetWeights(init_ws [][]float64)
- func (mlp *Mlp) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Images ¶
type Labels ¶
func ReadLabels ¶
Click to show internal directories.
Click to hide internal directories.