Go to the documentation of this file.
12 #ifndef MLPACK_CORE_CV_METRICS_RECALL_HPP
13 #define MLPACK_CORE_CV_METRICS_RECALL_HPP
47 template<AverageStrategy AS,
size_t PositiveClass = 1>
58 template<
typename MLAlgorithm,
typename DataType>
61 const arma::Row<size_t>& labels);
77 static double Evaluate(MLAlgorithm& model,
79 const arma::Row<size_t>& labels);
89 static double Evaluate(MLAlgorithm& model,
91 const arma::Row<size_t>& labels);
102 static double Evaluate(MLAlgorithm& model,
103 const DataType& data,
104 const arma::Row<size_t>& labels);
111 #include "recall_impl.hpp"
static double Evaluate(MLAlgorithm &model, const DataType &data, const arma::Row< size_t > &labels)
Run classification and calculate recall.
AverageStrategy
This enum declares possible strategies for averaging that can be used in some metrics like precision,...
Linear algebra utility functions, generally performed on matrices or vectors.
typename enable_if< B, T >::type enable_if_t
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.
Recall is a metric of performance for classification algorithms that for binary classification is equ...