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>;
boost::any value
The actual value that is held.
Linear algebra utility functions, generally performed on matrices or vectors.
bool wasPassed
True if the option was passed to the program.
The core includes that mlpack expects; standard C++ includes and Armadillo.
std::string desc
Description of this parameter, if any.
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...
bool loaded
If this is an input parameter that needs extra loading, this indicates whether or not it has been loa...
DatasetMapper< data::IncrementPolicy > DatasetInfo
char alias
Alias for this parameter.
std::string tname
Type information of this parameter.
std::string name
Name of this parameter.
bool required
True if this option is required.
std::string cppType
The true name of the type, as it would be written in C++.
bool noTranspose
True if this is a matrix that should not be transposed.