Class MeanSquaredError used to compute an error of regression model.
Formally, for real labels mean squared error (MSE) is estimated as
Definition at line 33 of file MeanSquaredError.h.
Public Member Functions | |
CMeanSquaredError () | |
virtual | ~CMeanSquaredError () |
virtual float64_t | evaluate (CLabels *predicted, CLabels *ground_truth) |
EEvaluationDirection | get_evaluation_direction () |
virtual const char * | get_name () const |
constructor
Definition at line 37 of file MeanSquaredError.h.
virtual ~CMeanSquaredError | ( | ) | [virtual] |
destructor
Definition at line 40 of file MeanSquaredError.h.
evaluate mean squared error
predicted | labels for evaluating | |
ground_truth | labels assumed to be correct |
Implements CEvaluation.
Definition at line 17 of file MeanSquaredError.cpp.
EEvaluationDirection get_evaluation_direction | ( | ) | [virtual] |
Implements CEvaluation.
Definition at line 49 of file MeanSquaredError.h.
virtual const char* get_name | ( | ) | const [virtual] |