12 #ifndef MLPACK_CORE_CV_METRICS_ACCURACY_HPP 13 #define MLPACK_CORE_CV_METRICS_ACCURACY_HPP 35 template<
typename MLAlgorithm,
typename DataType>
36 static double Evaluate(MLAlgorithm& model,
38 const arma::Row<size_t>& labels);
51 #include "accuracy_impl.hpp" static double Evaluate(MLAlgorithm &model, const DataType &data, const arma::Row< size_t > &labels)
Run classification and calculate accuracy.
The Accuracy is a metric of performance for classification algorithms that is equal to a proportion o...
Include all of the base components required to write mlpack methods, and the main mlpack Doxygen docu...
static const bool NeedsMinimization
Information for hyper-parameter tuning code.