param_data.hpp File Reference
Include dependency graph for param_data.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DatasetMapper< PolicyType, InputType >
 Auxiliary information for a dataset, including mappings to/from strings (or other types) and the datatype of each dimension. More...

 
struct  ParamData
 This structure holds all of the information about a single parameter, including its value (which is set when ParseCommandLine() is called). More...

 

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::data
 
Functions to load and save matrices and models.
 
 mlpack::util
 

Macros

#define TYPENAME(x)   (std::string(typeid(x).name()))
 The TYPENAME macro is used internally to convert a type into a string. More...

 

Detailed Description

Author
Ryan Curtin

This defines the structure that holds information for each command-line parameter, as well as utility functions it is used with.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file param_data.hpp.

Macro Definition Documentation

◆ TYPENAME

#define TYPENAME (   x)    (std::string(typeid(x).name()))

The TYPENAME macro is used internally to convert a type into a string.

Definition at line 22 of file param_data.hpp.

Referenced by CLIOption< N >::CLIOption(), GoOption< T >::GoOption(), JuliaOption< T >::JuliaOption(), MDOption< T >::MDOption(), PyOption< T >::PyOption(), ROption< T >::ROption(), and TestOption< N >::TestOption().