12 #ifndef MLPACK_CORE_CV_METRICS_R2SCORE_HPP 13 #define MLPACK_CORE_CV_METRICS_R2SCORE_HPP 50 template<
bool AdjustedR2>
63 template<
typename MLAlgorithm,
typename DataType,
typename ResponsesType>
64 static double Evaluate(MLAlgorithm& model,
66 const ResponsesType& responses);
79 #include "r2_score_impl.hpp" The R2 Score is a metric of performance for regression algorithms that represents the proportion of v...
Linear algebra utility functions, generally performed on matrices or vectors.
Include all of the base components required to write mlpack methods, and the main mlpack Doxygen docu...
static double Evaluate(MLAlgorithm &model, const DataType &data, const ResponsesType &responses)
Run prediction and calculate the R squared or Adjusted R squared error.
static const bool NeedsMinimization
Information for hyper-parameter tuning code.