13 #ifndef MLPACK_CORE_DATA_ONE_HOT_ENCODING_HPP 14 #define MLPACK_CORE_DATA_ONE_HOT_ENCODING_HPP 32 template<
typename RowType,
typename MatType>
47 const arma::Col<size_t>& indices,
48 arma::Mat<eT>& output);
62 arma::Mat<eT>& output,
63 const data::DatasetInfo& datasetInfo);
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.
void OneHotEncoding(const RowType &labelsIn, MatType &output)
Given a set of labels of a particular datatype, convert them to binary vector.
Definition: one_hot_encoding_impl.hpp:33
Include all of the base components required to write mlpack methods, and the main mlpack Doxygen docu...