The class Evaluation a main 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 with no proposed implementation.
Definition at line 38 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 42 of file Evaluation.h.
virtual ~CEvaluation | ( | ) | [virtual] |
destructor
Definition at line 45 of file Evaluation.h.
evaluate labels
predicted | labels for evaluating | |
ground_truth | labels assumed to be correct |
Implemented in CBinaryClassEvaluation, CContingencyTableEvaluation, CMeanSquaredError, CMulticlassAccuracy, CPRCEvaluation, and CROCEvaluation.
virtual EEvaluationDirection get_evaluation_direction | ( | ) | [pure virtual] |
Implemented in CContingencyTableEvaluation, CMeanSquaredError, CMulticlassAccuracy, CPRCEvaluation, and CROCEvaluation.