Class MeanAbsoluteError used to compute an error of regression model.
Formally, for real labels mean absolute error (MAE) is estimated as
Definition at line 32 of file MeanAbsoluteError.h.
Public Member Functions | |
CMeanAbsoluteError () | |
virtual | ~CMeanAbsoluteError () |
virtual float64_t | evaluate (CLabels *predicted, CLabels *ground_truth) |
EEvaluationDirection | get_evaluation_direction () |
virtual const char * | get_name () const |
constructor
Definition at line 36 of file MeanAbsoluteError.h.
virtual ~CMeanAbsoluteError | ( | ) | [virtual] |
destructor
Definition at line 39 of file MeanAbsoluteError.h.
evaluate mean absolute error
predicted | labels for evaluating | |
ground_truth | labels assumed to be correct |
Implements CEvaluation.
Definition at line 16 of file MeanAbsoluteError.cpp.
EEvaluationDirection get_evaluation_direction | ( | ) | [virtual] |
Implements CEvaluation.
Definition at line 48 of file MeanAbsoluteError.h.
virtual const char* get_name | ( | ) | const [virtual] |