mlpack 3.4.2
load_arff.hpp
Go to the documentation of this file.
1
12#ifndef MLPACK_CORE_DATA_LOAD_ARFF_HPP
13#define MLPACK_CORE_DATA_LOAD_ARFF_HPP
14
15#include <mlpack/prereqs.hpp>
16#include "dataset_mapper.hpp"
17#include <boost/tokenizer.hpp>
18
19namespace mlpack {
20namespace data {
21
27template<typename eT>
28void LoadARFF(const std::string& filename, arma::Mat<eT>& matrix);
29
52template<typename eT, typename PolicyType>
53void LoadARFF(const std::string& filename,
54 arma::Mat<eT>& matrix,
56
57} // namespace data
58} // namespace mlpack
59
60// Include implementation.
61#include "load_arff_impl.hpp"
62
63#endif
Auxiliary information for a dataset, including mappings to/from strings (or other types) and the data...
void LoadARFF(const std::string &filename, arma::Mat< eT > &matrix)
A utility function to load an ARFF dataset as numeric features (that is, as an Armadillo matrix witho...
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.