12 #ifndef MLPACK_BINDINGS_PYTHON_DEFAULT_PARAM_HPP    13 #define MLPACK_BINDINGS_PYTHON_DEFAULT_PARAM_HPP    29     const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
    32     const typename std::enable_if<!std::is_same<T,
    33         std::string>::value>::type* = 0,
    34     const typename std::enable_if<!std::is_same<T,
    35         std::tuple<mlpack::data::DatasetInfo, arma::mat>>::value>::type* = 0);
    51     const typename std::enable_if<std::is_same<T, std::string>::value>::type* = 0);
    61     const typename std::enable_if<
    62         arma::is_arma_type<T>::value ||
    64                                    arma::mat>>::value>::type* = 0);
    73     const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
    85   std::string* outstr = (std::string*) output;
    86   *outstr = DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
    94 #include "default_param_impl.hpp" Auxiliary information for a dataset, including mappings to/from strings (or other types) and the data...
 
Linear algebra utility functions, generally performed on matrices or vectors. 
 
The core includes that mlpack expects; standard C++ includes and Armadillo. 
 
std::string DefaultParamImpl(util::ParamData &data, const typename std::enable_if<!arma::is_arma_type< T >::value >::type *=0, const typename std::enable_if<!util::IsStdVector< 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::string >::value >::type *=0, const typename std::enable_if<!std::is_same< T, std::tuple< mlpack::data::DatasetInfo, arma::mat >>::value >::type *=0)
Return the default value of an option. 
 
This structure holds all of the information about a single parameter, including its value (which is s...
 
Metaprogramming structure for vector detection. 
 
void DefaultParam(util::ParamData &data, const void *, void *output)
Return the default value of an option.