13 #ifndef MLPACK_BINDINGS_R_PRINT_OUTPUT_PROCESSING_HPP 14 #define MLPACK_BINDINGS_R_PRINT_OUTPUT_PROCESSING_HPP 29 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
31 const typename std::enable_if<!std::is_same<T,
32 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0)
42 <<
"(p, \"" << d.
name <<
"\")";
51 const typename std::enable_if<arma::is_arma_type<T>::value>::type* = 0,
52 const typename std::enable_if<!std::is_same<T,
53 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0)
63 <<
"(p, \"" << d.
name <<
"\")";
72 const typename std::enable_if<std::is_same<T,
73 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0)
83 <<
"(p, \"" << d.
name <<
"\")";
92 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
115 PrintOutputProcessing<typename std::remove_pointer<T>::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...
void PrintOutputProcessing(util::ParamData &d, const typename std::enable_if<!arma::is_arma_type< T >::value >::type *=0, const typename std::enable_if<!data::HasSerialize< T >::value >::type *=0, const typename std::enable_if<!std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>::value >::type *=0)
Print output processing for a regular parameter type.
#define MLPACK_COUT_STREAM
std::string name
Name of this parameter.