Versions in this module Expand all Collapse all v1 v1.1.0 Oct 15, 2021 Changes in this version + const NeuralMatchThreshold + type Classifier interface + BatchTrain func(people *core.People, split float64, iterations int, verbosity int, batch int) + Identity func() ClassifierIdentity + Match func(input []float32) (int, float64) + Predict func(input []float32) []float64 + Read func(io.Reader) error + Train func(people *core.People, split float64, iterations int, verbosity int) + Write func(io.Writer) error + func NewDefault() Classifier + type ClassifierIdentity int + const BayesClassifier + const NeuralClassifier + const UnknownClassifier + type Neural struct + func (n *Neural) BatchTrain(people *core.People, split float64, iterations int, verbosity int, batch int) + func (n *Neural) Identity() ClassifierIdentity + func (n *Neural) Match(input []float32) (int, float64) + func (n *Neural) Predict(embedding []float32) []float64 + func (n *Neural) Read(r io.Reader) error + func (n *Neural) SetThreadshold(threshold float64) + func (n *Neural) Train(people *core.People, split float64, iterations int, verbosity int) + func (n *Neural) Write(w io.Writer) error