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" Linear algebra utility functions, generally performed on matrices or vectors.
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.