The class TwoClassEvaluation a base class used to evaluate 2-class classification.
Definition at line 26 of file BinaryClassEvaluation.h.
Public Member Functions | |
CBinaryClassEvaluation () | |
virtual | ~CBinaryClassEvaluation () |
virtual float64_t | evaluate (CLabels *predicted, CLabels *ground_truth)=0 |
constructor
Definition at line 32 of file BinaryClassEvaluation.h.
virtual ~CBinaryClassEvaluation | ( | ) | [virtual] |
destructor
Definition at line 35 of file BinaryClassEvaluation.h.
evaluate labels
predicted | labels for evaluating | |
ground_truth | labels assumed to be correct |
Implements CEvaluation.
Implemented in CContingencyTableEvaluation, CPRCEvaluation, and CROCEvaluation.