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);
static const bool NeedsMinimization
Information for hyper-parameter tuning code.
Definition: accuracy.hpp:45
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
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...
Definition: accuracy.hpp:26
static double Evaluate(MLAlgorithm &model, const DataType &data, const arma::Row< size_t > &labels)
Run classification and calculate accuracy.
Definition: accuracy_impl.hpp:19
Include all of the base components required to write mlpack methods, and the main mlpack Doxygen docu...