12 #ifndef MLPACK_BINDINGS_PYTHON_PRINT_DEFN_HPP 13 #define MLPACK_BINDINGS_PYTHON_PRINT_DEFN_HPP 31 std::string name = (d.
name ==
"lambda") ?
"lambda_" : d.
name;
34 if (std::is_same<T, bool>::value)
35 std::cout <<
"=False";
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
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...
Definition: param_data.hpp:52
std::string name
Name of this parameter.
Definition: param_data.hpp:56
void PrintDefn(util::ParamData &d, const void *, void *)
Print the definition for a Python binding parameter to stdout.
Definition: print_defn.hpp:26
bool required
True if this option is required.
Definition: param_data.hpp:71