122 std::tuple
>>::type* = 0) 124 const std::string prefix(indent,
' ');
126 std::string def =
"nil";
127 if (std::is_same
::value) 132 std::string name = d.
name;
133 std::string goParamName = name;
142 std::cout << prefix << goParamName <<
": " << def <<
"," 154 const typename boost::disable_if
>::type* = 0, 157 const std::string prefix(indent,
' ');
159 std::string def =
"nil";
160 if (std::is_same
::value) 165 std::string name = d.
name;
166 std::string goParamName = name;
175 std::cout << prefix << goParamName <<
": " << def <<
"," 196 PrintMethodInit
::type>(d, boost::any value
The actual value that is held.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
This structure holds all of the information about a single parameter, including its value (which is s...
std::string CamelCase(std::string s, bool lower)
Given an snake_case like, e.g., "logistic_regression", return CamelCase(e.g.
void PrintMethodInit(util::ParamData &d, const size_t indent, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::disable_if< data::HasSerialize< T >>::type *=0, const typename boost::disable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
Print parameter with it's default value for a standard option type.
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++.