mlpack  2.0.1
load_arff.hpp
Go to the documentation of this file.
1 
14 #ifndef __MLPACK_CORE_DATA_LOAD_ARFF_HPP
15 #define __MLPACK_CORE_DATA_LOAD_ARFF_HPP
16 
17 #include <mlpack/prereqs.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>
53 void LoadARFF(const std::string& filename,
54  arma::Mat<eT>& matrix,
55  DatasetInfo& 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.
The core includes that mlpack expects; standard C++ includes and Armadillo.