12 #ifndef MLPACK_CORE_CV_METRICS_ACCURACY_HPP 13 #define MLPACK_CORE_CV_METRICS_ACCURACY_HPP 36 template<
typename MLAlgorithm,
typename DataType>
37 static double Evaluate(MLAlgorithm& model,
39 const arma::Row<size_t>& labels);
52 #include "accuracy_impl.hpp" static double Evaluate(MLAlgorithm &model, const DataType &data, const arma::Row< size_t > &labels)
Run classification and calculate accuracy.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
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.