57 std::tuple
>>::type* = 0) 60 std::cout <<
"*" << GetGoType
(d); 69 const typename boost::disable_if
>::type* = 0, 73 std::string goStrippedType, strippedType, printedType, defaultsType;
74 StripType(d.
cppType, goStrippedType, strippedType, printedType, defaultsType);
75 std::cout << goStrippedType;
97 PrintDefnOutput
::type>(d); void PrintDefnOutput(util::ParamData &d, 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 output for a regular parameter type.
void StripType(const std::string &inputType, std::string &goStrippedType, std::string &strippedType, std::string &printedType, std::string &defaultsType)
Given an input type like, e.g., "LogisticRegression<>", return four types that can be used in Go code...
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 cppType
The true name of the type, as it would be written in C++.