Versions in this module Expand all Collapse all v1 v1.2.1 Jul 30, 2017 v1.2.0 May 30, 2017 v1.1.0 Feb 21, 2017 v1.0.1 Dec 27, 2016 v1.0.0 Nov 30, 2016 Changes in this version + func F1(precision, recall float64) float64 + func Precision(truePositives, testPositives int) float64 + func Recall(truePositives, conditionPositives int) float64 + type Error interface + Class func() string + String func() string + type Errors []Error + func (ers Errors) ByType() map[string]int + type Eval func(test, condition interface{}) *Result + type Result struct + Errors Errors + FN int + FP int + Other interface{} + TN int + TP int + func (r *Result) Accuracy() float64 + func (r *Result) All() int + func (r *Result) ConditionNegatives() int + func (r *Result) ConditionPositives() int + func (r *Result) Correct() int + func (r *Result) F1() float64 + func (r *Result) Incorrect() int + func (r *Result) Precision() float64 + func (r *Result) Recall() float64 + func (r *Result) TestNegatives() int + func (r *Result) TestPositives() int + type Total struct + Exact int + Population int + Results []*Result + func (t *Total) Add(r *Result) + func (t *Total) Errors() Errors + func (t *Total) ExactMatch() float64