the class MeanSquaredError used to compute error of regression model.
Formally, for labels mean squared error is estimated as
Definition at line 32 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 36 of file MeanSquaredError.h.
virtual ~CMeanSquaredError | ( | ) | [virtual] |
destructor
Definition at line 39 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 48 of file MeanSquaredError.h.
virtual const char* get_name | ( | void | ) | const [virtual] |