Vita
|
Accuracy refers to the number of training examples that are correctly valued/classified as a proportion of the total number of examples in the training set. More...
#include <model_metric.h>
Inherits vita::model_metric.
Public Member Functions | |
double | operator() (const core_class_lambda_f *, const dataframe &) const override |
double | operator() (const core_reg_lambda_f *, const dataframe &) const override |
virtual double | operator() (const core_class_lambda_f *, const dataframe &) const =0 |
virtual double | operator() (const core_reg_lambda_f *, const dataframe &) const =0 |
Accuracy refers to the number of training examples that are correctly valued/classified as a proportion of the total number of examples in the training set.
According to this design, the best accuracy is 1.0
(100%), meaning that all the training examples have been correctly recognized.
Definition at line 55 of file model_metric.h.
|
overridevirtual |
[in] | l | the model whose accuracy we are evaluating |
[in] | d | a dataset |
Implements vita::model_metric.
Definition at line 50 of file model_metric.cc.
|
overridevirtual |
[in] | l | the model whose accuracy we are evaluating |
[in] | d | a dataset |
Implements vita::model_metric.
Definition at line 23 of file model_metric.cc.