mlpack  master
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 
17 namespace mlpack {
18 namespace data {
19 
25 template<typename eT>
26 void LoadARFF(const std::string& filename, arma::Mat<eT>& matrix);
27 
50 template<typename eT, typename PolicyType>
51 void LoadARFF(const std::string& filename,
52  arma::Mat<eT>& matrix,
53  DatasetMapper<PolicyType>& info);
54 
55 } // namespace data
56 } // namespace mlpack
57 
58 // Include implementation.
59 #include "load_arff_impl.hpp"
60 
61 #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: binarize.hpp:18
The core includes that mlpack expects; standard C++ includes and Armadillo.
test cpp RESULT_VARIABLE MEX_RESULT_TRASH OUTPUT_VARIABLE MEX_OUTPUT ERROR_VARIABLE MEX_ERROR_TRASH string(REGEX MATCH"Warning: You are using"MEX_WARNING"${MEX_OUTPUT}") if(MEX_WARNING) string(REGEX REPLACE".*using [a-zA-Z]* version \"([0-9.]*)[^\"]*\".*""\\1"OTHER_COMPILER_VERSION"$
Definition: CMakeLists.txt:18