an RDD of (prediction, label) pairs.
Returns accuracy (equals to the total number of correctly classified instances out of the total number of instances.)
Returns accuracy (equals to the total number of correctly classified instances out of the total number of instances.)
Returns confusion matrix: predicted classes are in columns, they are ordered by class label ascending, as in "labels"
Returns confusion matrix: predicted classes are in columns, they are ordered by class label ascending, as in "labels"
Returns f1-measure for a given label (category)
Returns f1-measure for a given label (category)
the label.
Returns f-measure for a given label (category)
Returns f-measure for a given label (category)
the label.
the beta parameter.
Returns false positive rate for a given label (category)
Returns false positive rate for a given label (category)
the label.
Returns the sequence of labels in ascending order
Returns the sequence of labels in ascending order
Returns precision for a given label (category)
Returns precision for a given label (category)
the label.
Returns recall for a given label (category)
Returns recall for a given label (category)
the label.
Returns true positive rate for a given label (category)
Returns true positive rate for a given label (category)
the label.
Returns weighted averaged f-measure
Returns weighted averaged f-measure
the beta parameter.
Returns weighted averaged f1-measure
Returns weighted averaged f1-measure
Returns weighted false positive rate
Returns weighted false positive rate
Returns weighted averaged precision
Returns weighted averaged precision
Returns weighted averaged recall (equals to precision, recall and f-measure)
Returns weighted averaged recall (equals to precision, recall and f-measure)
Returns weighted true positive rate (equals to precision, recall and f-measure)
Returns weighted true positive rate (equals to precision, recall and f-measure)
Returns f-measure (equals to precision and recall because precision equals recall)
Returns f-measure (equals to precision and recall because precision equals recall)
(Since version 2.0.0) Use accuracy.
Returns precision
Returns precision
(Since version 2.0.0) Use accuracy.
Returns recall (equals to precision for multiclass classifier because sum of all false positives is equal to sum of all false negatives)
Returns recall (equals to precision for multiclass classifier because sum of all false positives is equal to sum of all false negatives)
(Since version 2.0.0) Use accuracy.
Evaluator for multiclass classification.