Class Evaluation, a base class for other classes used to evaluate labels, e.g. accuracy of classification or mean squared error of regression.
This class provides only interface for evaluation measures.
Definition at line 36 of file Evaluation.h.
Public Member Functions | |
CEvaluation () | |
virtual | ~CEvaluation () |
virtual float64_t | evaluate (CLabels *predicted, CLabels *ground_truth)=0 |
virtual EEvaluationDirection | get_evaluation_direction ()=0 |
CEvaluation | ( | ) |
constructor
Definition at line 40 of file Evaluation.h.
virtual ~CEvaluation | ( | ) | [virtual] |
destructor
Definition at line 43 of file Evaluation.h.
evaluate labels
predicted | labels for evaluating | |
ground_truth | labels assumed to be correct |
Implemented in CBinaryClassEvaluation, CContingencyTableEvaluation, CMeanAbsoluteError, CMeanSquaredError, CMulticlassAccuracy, CPRCEvaluation, and CROCEvaluation.
virtual EEvaluationDirection get_evaluation_direction | ( | ) | [pure virtual] |
Implemented in CContingencyTableEvaluation, CMeanAbsoluteError, CMeanSquaredError, CMulticlassAccuracy, CPRCEvaluation, and CROCEvaluation.