100 std::tuple
>>::type* = 0) 102 const std::string prefix(indent,
' ');
104 std::string def =
"nil";
105 if (std::is_same
::value) 110 std::string name = d.
name;
111 std::string goParamName = name;
120 std::cout << prefix << goParamName <<
" *" << GetGoType
(d) 132 const typename boost::disable_if
>::type* = 0, 135 const std::string prefix(indent,
' ');
137 std::string def =
"nil";
138 if (std::is_same
::value) 143 std::string name = d.
name;
144 std::string goParamName = name;
153 std::cout << prefix << goParamName <<
" *" << GetGoType
(d) 174 PrintMethodConfig
::type>(d,
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 PrintMethodConfig(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 param in configuration struct for a standard option type.
std::string name
Name of this parameter.
bool required
True if this option is required.