mlpack
3.1.1
src
mlpack
core
data
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
mlpack::data::LoadARFF
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...
mlpack
.hpp
Definition:
add_to_po.hpp:21
prereqs.hpp
The core includes that mlpack expects; standard C++ includes and Armadillo.
dataset_mapper.hpp
Generated by
1.8.14