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>;
char alias
Alias for this parameter.
Definition: param_data.hpp:63
std::string tname
Type information of this parameter.
Definition: param_data.hpp:61
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
bool input
True if this option is an input option (otherwise, it is output).
Definition: param_data.hpp:73
bool persistent
If this should be preserved across different settings (i.e.
Definition: param_data.hpp:79
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++.
Definition: param_data.hpp:84
std::string desc
Description of this parameter, if any.
Definition: param_data.hpp:58
bool noTranspose
True if this is a matrix that should not be transposed.
Definition: param_data.hpp:69
This structure holds all of the information about a single parameter, including its value (which is s...
Definition: param_data.hpp:52
bool loaded
If this is an input parameter that needs extra loading, this indicates whether or not it has been loa...
Definition: param_data.hpp:76
boost::any value
The actual value that is held.
Definition: param_data.hpp:82
std::string name
Name of this parameter.
Definition: param_data.hpp:56
bool required
True if this option is required.
Definition: param_data.hpp:71
bool wasPassed
True if the option was passed to the program.
Definition: param_data.hpp:66