mlpack
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 
19 namespace mlpack {
20 namespace data {
21 
27 template<typename eT>
28 void LoadARFF(const std::string& filename, arma::Mat<eT>& matrix);
29 
52 template<typename eT, typename PolicyType>
53 void LoadARFF(const std::string& filename,
54  arma::Mat<eT>& matrix,
55  DatasetMapper<PolicyType>& info);
56 
57 } // namespace data
58 } // namespace mlpack
59 
60 // Include implementation.
61 #include "load_arff_impl.hpp"
62 
63 #endif
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.