The Accuracy is a metric of performance for classification algorithms that is equal to a proportion of correctly labeled test items among all ones for given test items. More...
Static Public Member Functions  
template < typename MLAlgorithm , typename DataType >  
static double  Evaluate (MLAlgorithm &model, const DataType &data, const arma::Row< size_t > &labels) 
Run classification and calculate accuracy. More...  
Static Public Attributes  
static const bool  NeedsMinimization = false 
Information for hyperparameter tuning code. More...  
The Accuracy is a metric of performance for classification algorithms that is equal to a proportion of correctly labeled test items among all ones for given test items.
Definition at line 26 of file accuracy.hpp.

static 
Run classification and calculate accuracy.
model  A classification model. 
data  Columnmajor data containing test items. 
labels  Ground truth (correct) labels for the test items. 

static 
Information for hyperparameter tuning code.
It indicates that we want to maximize the metric.
Definition at line 45 of file accuracy.hpp.