Documentation
¶
Index ¶
- Constants
- type Classifier
- func (c *Classifier) ClassProbs(class int) ([]float64, error)
- func (c *Classifier) Detect(fv []float64) ([]float64, error)
- func (c *Classifier) Detect2(fv []float64) ([]float64, error)
- func (c *Classifier) FeatureProbs(feature int) ([]float64, error)
- func (c *Classifier) Learn(class int, fv []float64) error
- func (c *Classifier) Learn2(class int, cv float64, fv []float64) error
- func (c *Classifier) Predict(fv []float64) ([]float64, error)
- type Neuron
- type TwoLayerNetwork
- type Type
- type Wire
Constants ¶
View Source
const CassetteSize = 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Classifier ¶
type Classifier struct {
// contains filtered or unexported fields
}
func New ¶
func New(classes, features int) *Classifier
func (*Classifier) ClassProbs ¶
func (c *Classifier) ClassProbs(class int) ([]float64, error)
func (*Classifier) FeatureProbs ¶
func (c *Classifier) FeatureProbs(feature int) ([]float64, error)
type Neuron ¶
type TwoLayerNetwork ¶
func (TwoLayerNetwork) Tick ¶
func (nn TwoLayerNetwork) Tick()
Click to show internal directories.
Click to hide internal directories.
