13 #ifndef MLPACK_CORE_DATA_CONFUSION_MATRIX_HPP
14 #define MLPACK_CORE_DATA_CONFUSION_MATRIX_HPP
55 const arma::Row<size_t> responses,
56 arma::Mat<eT>& output,
57 const size_t numClasses);
63 #include "confusion_matrix_impl.hpp"
The core includes that mlpack expects; standard C++ includes and Armadillo.
void ConfusionMatrix(const arma::Row< size_t > predictors, const arma::Row< size_t > responses, arma::Mat< eT > &output, const size_t numClasses)
A confusion matrix is a summary of prediction results on a classification problem.