Go to the documentation of this file.
13 #ifndef MLPACK_CORE_UTIL_PARAM_DATA_HPP
14 #define MLPACK_CORE_UTIL_PARAM_DATA_HPP
17 #include <boost/any.hpp>
22 #define TYPENAME(x) (std::string(typeid(x).name()))
27 class IncrementPolicy;
29 template<
typename PolicyType,
typename InputType>
32 using DatasetInfo = DatasetMapper<IncrementPolicy, std::string>;
The core includes that mlpack expects; standard C++ includes and Armadillo.
std::string cppType
The true name of the type, as it would be written in C++.
boost::any value
The actual value that is held.
bool persistent
If this should be preserved across different settings (i.e.
bool input
True if this option is an input option (otherwise, it is output).
This structure holds all of the information about a single parameter, including its value (which is s...
Linear algebra utility functions, generally performed on matrices or vectors.
std::string desc
Description of this parameter, if any.
bool wasPassed
True if the option was passed to the program.
std::string name
Name of this parameter.
bool required
True if this option is required.
bool loaded
If this is an input parameter that needs extra loading, this indicates whether or not it has been loa...
char alias
Alias for this parameter.
std::string tname
Type information of this parameter.
DatasetMapper< data::IncrementPolicy > DatasetInfo
bool noTranspose
True if this is a matrix that should not be transposed.