13#ifndef MLPACK_BINDINGS_R_PRINT_OUTPUT_PROCESSING_HPP
14#define MLPACK_BINDINGS_R_PRINT_OUTPUT_PROCESSING_HPP
29 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
31 const typename boost::disable_if<std::is_same<T,
32 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0)
42 <<
"(\"" << d.
name <<
"\")";
51 const typename boost::enable_if<arma::is_arma_type<T>>::type* = 0,
52 const typename std::enable_if<!std::is_same<T,
53 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0)
63 <<
"(\"" << d.
name <<
"\")";
72 const typename boost::enable_if<std::is_same<T,
73 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0)
83 <<
"(\"" << d.
name <<
"\")";
92 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
115 PrintOutputProcessing<typename std::remove_pointer<T>::type>(d);
void PrintOutputProcessing(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 processing for a regular parameter type.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
#define MLPACK_COUT_STREAM
This structure holds all of the information about a single parameter, including its value (which is s...
std::string name
Name of this parameter.