mlpack_main.hpp File Reference
Include dependency graph for mlpack_main.hpp:

Go to the source code of this file.

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::util
 

Macros

#define BINDING_FUNCTION(...)   JOIN(mlpack_, BINDING_NAME)(__VA_ARGS__)
 
#define BINDING_IGNORE_CHECK(...)
 BINDING_IGNORE_CHECK() is an internally-used macro to determine whether or not a specific parameter check should be ignored. More...

 
#define BINDING_MATRIX_TRANSPOSED   true
 
#define PRINT_CALL(...)   mlpack::bindings::r::ProgramCall(false, __VA_ARGS__)
 PRINT_CALL() returns a string that contains the full language-specific representation of a call to an mlpack binding. More...

 
#define PRINT_DATASET   mlpack::bindings::r::PrintDataset
 PRINT_DATASET() returns a string that contains a correct language-specific representation of a dataset name. More...

 
#define PRINT_MODEL   mlpack::bindings::r::PrintModel
 PRINT_MODEL() returns a string that contains a correct language-specific representation of an mlpack model name. More...

 
#define PRINT_PARAM_STRING   mlpack::bindings::r::ParamString
 PRINT_PARAM_STRING() returns a string that contains the correct language-specific representation of a parameter's name. More...

 
#define PRINT_PARAM_VALUE   mlpack::bindings::r::PrintValue
 PRINT_PARAM_VALUE() returns a string that contains a correct language-specific representation of a parameter's value. More...

 

Functions

 PARAM_FLAG ("verbose", "Display informational messages and the full list of " "parameters and timers at the end of execution.", "v")
 

Macro Definition Documentation

◆ BINDING_FUNCTION

#define BINDING_FUNCTION (   ...)    JOIN(mlpack_, BINDING_NAME)(__VA_ARGS__)

Definition at line 79 of file mlpack_main.hpp.

◆ BINDING_IGNORE_CHECK

#define BINDING_IGNORE_CHECK (   ...)
Value:
STRINGIFY(BINDING_NAME), __VA_ARGS__)
bool IgnoreCheck(const std::string &paramName)
Print whether or not we should ignore a check on the given parameter.

BINDING_IGNORE_CHECK() is an internally-used macro to determine whether or not a specific parameter check should be ignored.

Definition at line 62 of file mlpack_main.hpp.

◆ BINDING_MATRIX_TRANSPOSED

#define BINDING_MATRIX_TRANSPOSED   true

Definition at line 20 of file mlpack_main.hpp.

◆ PRINT_CALL

#define PRINT_CALL (   ...)    mlpack::bindings::r::ProgramCall(false, __VA_ARGS__)

PRINT_CALL() returns a string that contains the full language-specific representation of a call to an mlpack binding.

The first argument should be the name of the binding, and all other arguments should be names of parameters followed by values (in the case where the preceding parameter is not a flag).

Definition at line 56 of file mlpack_main.hpp.

◆ PRINT_DATASET

#define PRINT_DATASET   mlpack::bindings::r::PrintDataset

PRINT_DATASET() returns a string that contains a correct language-specific representation of a dataset name.

Definition at line 41 of file mlpack_main.hpp.

◆ PRINT_MODEL

#define PRINT_MODEL   mlpack::bindings::r::PrintModel

PRINT_MODEL() returns a string that contains a correct language-specific representation of an mlpack model name.

Definition at line 47 of file mlpack_main.hpp.

◆ PRINT_PARAM_STRING

#define PRINT_PARAM_STRING   mlpack::bindings::r::ParamString

PRINT_PARAM_STRING() returns a string that contains the correct language-specific representation of a parameter's name.

Definition at line 29 of file mlpack_main.hpp.

◆ PRINT_PARAM_VALUE

#define PRINT_PARAM_VALUE   mlpack::bindings::r::PrintValue

PRINT_PARAM_VALUE() returns a string that contains a correct language-specific representation of a parameter's value.

Definition at line 35 of file mlpack_main.hpp.

Function Documentation

◆ PARAM_FLAG()

PARAM_FLAG ( "verbose"  ,
"Display informational messages and the full list of " "parameters and timers at the end of execution."  ,
"v"   
)