roc_auc_score.hpp
Go to the documentation of this file.
1 
12 #ifndef MLPACK_CORE_CV_METRICS_ROCAUCSCORE_HPP
13 #define MLPACK_CORE_CV_METRICS_ROCAUCSCORE_HPP
14 
15 #include <mlpack/core.hpp>
16 
17 namespace mlpack {
18 namespace cv {
19 
34 template<size_t PositiveClass = 1>
36 {
37  public:
44  static double Evaluate(const arma::Row<size_t>& labels,
45  const arma::Row<double>& scores);
46 
51  static const bool NeedsMinimization = false;
52 };
53 
54 } // namespace cv
55 } // namespace mlpack
56 
57 // Include implementation.
58 #include "roc_auc_score_impl.hpp"
59 
60 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
ROC-AUC is a metric of performance for classification algorithms that for binary classification is eq...
static double Evaluate(const arma::Row< size_t > &labels, const arma::Row< double > &scores)
Calculate area under the ROC curve.
static const bool NeedsMinimization
Information for hyper-parameter tuning code.
Include all of the base components required to write mlpack methods, and the main mlpack Doxygen docu...