case classClassifierPerformance[N, DATA, F, G](data: F, retrieve: (DATA) ⇒ Boolean, relevant: (DATA) ⇒ Boolean)(implicit functor: Functor[F, DATA, (N, N, N, N), G], agg: Aggregatable[G, (N, N, N, N), (N, N, N, N)], field: Field[N]) extends Product with Serializable
ClassifierPerformance computes measures of classification performance
They are:
* Precision
* Recall
* Specificity
* Accuracy
* F1
The (boolean) "classification task" is defined by two arguments:
1) predict: given a datum, determines whether the value is "in" the retrieved set
2) actual : given a datum, determines whether the value is *actually* "in" the retrieved set
See http://en.wikipedia.org/wiki/Precision_and_recall for more information.
http://en.wikipedia.org/wiki/F1_score
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
Alphabetic
By inheritance
Inherited
ClassifierPerformance
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
newClassifierPerformance(data: F, retrieve: (DATA) ⇒ Boolean, relevant: (DATA) ⇒ Boolean)(implicit functor: Functor[F, DATA, (N, N, N, N), G], agg: Aggregatable[G, (N, N, N, N), (N, N, N, N)], field: Field[N])
ClassifierPerformance computes measures of classification performance
They are:
* Precision * Recall * Specificity * Accuracy * F1
The (boolean) "classification task" is defined by two arguments:
1) predict: given a datum, determines whether the value is "in" the retrieved set 2) actual : given a datum, determines whether the value is *actually* "in" the retrieved set
See http://en.wikipedia.org/wiki/Precision_and_recall for more information.
http://en.wikipedia.org/wiki/F1_score