Versions in this module Expand all Collapse all v0 v0.2.5 Jun 6, 2021 v0.1.1 May 9, 2021 Changes in this version + func Backpropagation(n *neural.Network, in, ideal []float64, speed float64) + func Learn(n *neural.Network, in, ideal []float64, speed float64) + func Learner(n *neural.Network, samples []Sample, speed float64) + type Deltas [][]float64 + type Sample struct + ClassNumber int + Label string + Output []float64 + OutputHash string + Value float64 + Vector []float64 + VectorHash string + func NewClassificationSample(vector, output []float64, classLabel string) *Sample + func NewRegressionSample(vector []float64, output float64, classLabel string) *Sample + func (s *Sample) GetHash() string + func (s *Sample) UpdateHashes() + type Set struct + ClassToLabel map[int]string + OutputHashes []string + Samples []*Sample + Usage neural.NetworkType + VectorHashes []string + func NewSet(usage neural.NetworkType) *Set + func (s *Set) AddClass(label string) (bool, error) + func (s *Set) AddSample(sample *Sample) error + func (s *Set) GenerateOutputVector(label string) []float64 + func (s *Set) GetClasses() []string + func (s *Set) LoadFromCSV(path string) (bool, error) + func (s *Set) LoadFromSVMFile(path string) (bool, error) + func (s *Set) SampleExists(test *Sample) bool