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 + type Evaluation struct + Confusion map[string]map[string]int + Correct int + OverallDistance float64 + Threshold float64 + Usage neural.NetworkType + Wrong int + func NewEvaluation(usage neural.NetworkType, classes []string) *Evaluation + func (e *Evaluation) Add(labeledClass, predictedClass string) + func (e *Evaluation) AddDistance(n *neural.Network, in, ideal []float64) float64 + func (e *Evaluation) AddRegression(label, predicted float64) + func (e *Evaluation) GetAccuracy(label string) float64 + func (e *Evaluation) GetBalancedAccuracy(label string) float64 + func (e *Evaluation) GetCorrectRatio() float64 + func (e *Evaluation) GetDistance() float64 + func (e *Evaluation) GetFMeasure(label string) float64 + func (e *Evaluation) GetFallout(label string) float64 + func (e *Evaluation) GetFalseDiscoveryRate(label string) float64 + func (e *Evaluation) GetFalseNegatives(label string) int + func (e *Evaluation) GetFalsePositiveRate(label string) float64 + func (e *Evaluation) GetFalsePositives(label string) int + func (e *Evaluation) GetInformedness(label string) float64 + func (e *Evaluation) GetMarkedness(label string) float64 + func (e *Evaluation) GetNegativePredictionValue(label string) float64 + func (e *Evaluation) GetNegatives(label string) int + func (e *Evaluation) GetOverallAccuracy() float64 + func (e *Evaluation) GetOverallBalancedAccuracy() float64 + func (e *Evaluation) GetOverallFMeasure() float64 + func (e *Evaluation) GetPositives(label string) int + func (e *Evaluation) GetPrecision(label string) float64 + func (e *Evaluation) GetRecall(label string) float64 + func (e *Evaluation) GetSensitivity(label string) float64 + func (e *Evaluation) GetSpecificity(label string) float64 + func (e *Evaluation) GetTrueNegatives(label string) int + func (e *Evaluation) GetTruePositives(label string) int + func (e *Evaluation) PrintConfusionMatrix() + func (e *Evaluation) PrintRegressionSummary() + func (e *Evaluation) PrintSummaries() + func (e *Evaluation) PrintSummary(label string) + func (e *Evaluation) SetRegressionThreshold(threshold float64)