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(x) |
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 | CALL_METHOD(...) |
CALL_METHOD() returns a string that calls a method of an instance. More... | |
#define | CREATE_OBJECT(...) |
CREATE_OBJECT() returns a string that creates an instance of the class. More... | |
#define | GET_DATASET mlpack::bindings::python::GetDataset |
GET_DATASET() returns a string that reads data from a source and, stores in a variable. More... | |
#define | IMPORT_EXT_LIB mlpack::bindings::python::ImportExtLib |
IMPORT_EXT_LIB() returns a string that imports required external libraries for a particular language. More... | |
#define | IMPORT_SPLIT mlpack::bindings::python::ImportSplit |
IMPORT_SPLIT() returns a string that imports mlpack's preprocess_split. More... | |
#define | IMPORT_THIS mlpack::bindings::python::ImportThis |
IMPORT_THIS returns a string that imports the current method. More... | |
#define | PRINT_CALL mlpack::bindings::python::ProgramCall |
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::python::PrintDataset |
PRINT_DATASET() returns a string that contains a correct language-specific representation of a dataset name. More... | |
#define | PRINT_MODEL mlpack::bindings::python::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::python::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::python::PrintValue |
PRINT_PARAM_VALUE() returns a string that contains a correct language-specific representation of a parameter's value. More... | |
#define | SPLIT_TRAIN_TEST mlpack::bindings::python::SplitTrainTest |
SPLIT_TRAIN_TEST() splits the dataset into train and test datasets. More... | |
Functions | |
PARAM_GLOBAL (bool, "verbose", "Display informational messages and the full " "list of parameters and timers at the end of execution.", "v", "bool", false, true, false, false) | |
PARAM_GLOBAL (bool, "copy_all_inputs", "If specified, all input parameters " "will be deep copied before the method is run. This is useful for " "debugging problems where the input parameters are being modified " "by the algorithm, but can slow down the code.", "", "bool", false, true, false, false) | |
PARAM_GLOBAL (bool, "check_input_matrices", "If specified, the input matrix " "is checked for NaN and inf values; an exception is thrown if any are " "found.", "", "bool", false, true, false, false) | |
#define BINDING_FUNCTION | ( | ... | ) | JOIN(mlpack_, BINDING_NAME)(__VA_ARGS__) |
Definition at line 120 of file mlpack_main.hpp.
#define BINDING_IGNORE_CHECK | ( | x | ) |
BINDING_IGNORE_CHECK() is an internally-used macro to determine whether or not a specific parameter check should be ignored.
Definition at line 102 of file mlpack_main.hpp.
#define BINDING_MATRIX_TRANSPOSED true |
Definition at line 20 of file mlpack_main.hpp.
#define CALL_METHOD | ( | ... | ) |
CALL_METHOD() returns a string that calls a method of an instance.
Definition at line 86 of file mlpack_main.hpp.
#define CREATE_OBJECT | ( | ... | ) |
CREATE_OBJECT() returns a string that creates an instance of the class.
Definition at line 80 of file mlpack_main.hpp.
#define GET_DATASET mlpack::bindings::python::GetDataset |
GET_DATASET() returns a string that reads data from a source and, stores in a variable.
Definition at line 69 of file mlpack_main.hpp.
#define IMPORT_EXT_LIB mlpack::bindings::python::ImportExtLib |
IMPORT_EXT_LIB() returns a string that imports required external libraries for a particular language.
Definition at line 53 of file mlpack_main.hpp.
#define IMPORT_SPLIT mlpack::bindings::python::ImportSplit |
IMPORT_SPLIT() returns a string that imports mlpack's preprocess_split.
Definition at line 58 of file mlpack_main.hpp.
#define IMPORT_THIS mlpack::bindings::python::ImportThis |
IMPORT_THIS returns a string that imports the current method.
Definition at line 63 of file mlpack_main.hpp.
#define PRINT_CALL mlpack::bindings::python::ProgramCall |
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 96 of file mlpack_main.hpp.
#define PRINT_DATASET mlpack::bindings::python::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.
#define PRINT_MODEL mlpack::bindings::python::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.
#define PRINT_PARAM_STRING mlpack::bindings::python::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.
#define PRINT_PARAM_VALUE mlpack::bindings::python::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.
#define SPLIT_TRAIN_TEST mlpack::bindings::python::SplitTrainTest |
SPLIT_TRAIN_TEST() splits the dataset into train and test datasets.
Definition at line 74 of file mlpack_main.hpp.
PARAM_GLOBAL | ( | bool | , |
"verbose" | , | ||
"Display informational messages and the full " "list of parameters and timers at the end of execution." | , | ||
"v" | , | ||
"bool" | , | ||
false | , | ||
true | , | ||
false | , | ||
false | |||
) |
PARAM_GLOBAL | ( | bool | , |
"copy_all_inputs" | , | ||
"If | specified, | ||
all input parameters " "will be deep copied before the method is run. This is useful for " "debugging problems where the input parameters are being modified " "by the | algorithm, | ||
but can slow down the code." | , | ||
"" | , | ||
"bool" | , | ||
false | , | ||
true | , | ||
false | , | ||
false | |||
) |
PARAM_GLOBAL | ( | bool | , |
"check_input_matrices" | , | ||
"If | specified, | ||
the input matrix " "is checked for NaN and inf values;an exception is thrown if any are " "found." | , | ||
"" | , | ||
"bool" | , | ||
false | , | ||
true | , | ||
false | , | ||
false | |||
) |