13#ifndef MLPACK_CORE_DATA_ONE_HOT_ENCODING_HPP
14#define MLPACK_CORE_DATA_ONE_HOT_ENCODING_HPP
32template<
typename RowType,
typename MatType>
47 const arma::Col<size_t>& indices,
48 arma::Mat<eT>& output);
62 arma::Mat<eT>& output,
69#include "one_hot_encoding_impl.hpp"
Auxiliary information for a dataset, including mappings to/from strings (or other types) and the data...
Include all of the base components required to write mlpack methods, and the main mlpack Doxygen docu...
void OneHotEncoding(const RowType &labelsIn, MatType &output)
Given a set of labels of a particular datatype, convert them to binary vector.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.