Skylark (Sketching Library)
0.1
|
#include <options.hpp>
Public Member Functions | |
hilbert_options_t (int argc, char **argv, int nproc) | |
std::string | print () const |
Public Attributes | |
LossType | lossfunction |
RegularizerType | regularizer |
KernelType | kernel |
double | kernelparam |
double | kernelparam2 |
double | kernelparam3 |
double | lambda |
int | MAXITER |
double | tolerance |
double | rho |
int | seed |
int | randomfeatures |
bool | regularmap |
bool | cachetransforms |
int | numfeaturepartitions |
int | numthreads |
int | nummpiprocesses |
int | fileformat |
std::string | trainfile |
std::string | modelfile |
std::string | testfile |
std::string | valfile |
std::string | str = "" |
bool | exit_on_return |
A structure that is used to pass options to the ADMM solver. This structure has default values embedded. No accessor functions are being written.
Definition at line 51 of file options.hpp.
hilbert_options_t::hilbert_options_t | ( | int | argc, |
char ** | argv, | ||
int | nproc | ||
) | [inline] |
The constructor takes in all the command line parameters and parses them.
create a variable map to hold all these things
Print help and return if needed
Definition at line 98 of file options.hpp.
References cachetransforms, DEFAULT_FEATURE_PARTITIONS, DEFAULT_FILEFORMAT, DEFAULT_KERPARAM, DEFAULT_LAMBDA, DEFAULT_MAXITER, DEFAULT_RF, DEFAULT_RHO, DEFAULT_SEED, DEFAULT_THREADS, DEFAULT_TOL, exit_on_return, fileformat, kernel, kernelparam, kernelparam2, kernelparam3, L2, lambda, LINEAR, MAXITER, modelfile, numfeaturepartitions, numthreads, randomfeatures, regularizer, regularmap, rho, run(), seed, SQUARED, str, testfile, tolerance, trainfile, and valfile.
std::string hilbert_options_t::print | ( | ) | const [inline] |
Definition at line 286 of file options.hpp.
References cachetransforms, fileformat, kernel, kernelparam, kernelparam2, kernelparam3, Kernels, lambda, Losses, lossfunction, MAXITER, modelfile, numfeaturepartitions, nummpiprocesses, numthreads, randomfeatures, regularizer, Regularizers, regularmap, rho, seed, str, testfile, tolerance, trainfile, and valfile.
Definition at line 74 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
A parameter indicating if we need to continue or not
Definition at line 91 of file options.hpp.
Referenced by hilbert_options_t().
Definition at line 81 of file options.hpp.
Referenced by hilbert_options_t(), print(), and run().
Definition at line 56 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
Kernel parameters
Definition at line 59 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
Definition at line 60 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
Definition at line 61 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
double hilbert_options_t::lambda |
Definition at line 63 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
Solver type options
Definition at line 54 of file options.hpp.
Referenced by GetSolver(), print(), and run().
Optimization options
Definition at line 65 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
std::string hilbert_options_t::modelfile |
Definition at line 85 of file options.hpp.
Referenced by hilbert_options_t(), print(), and run().
Definition at line 77 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
Definition at line 79 of file options.hpp.
Referenced by print().
Definition at line 78 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), print(), and run().
Definition at line 72 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
Definition at line 55 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
Definition at line 73 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
double hilbert_options_t::rho |
Definition at line 68 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
Randomization options
Definition at line 71 of file options.hpp.
Referenced by hilbert_options_t(), and print().
std::string hilbert_options_t::str = "" |
Definition at line 88 of file options.hpp.
Referenced by hilbert_options_t(), and print().
std::string hilbert_options_t::testfile |
Definition at line 86 of file options.hpp.
Referenced by hilbert_options_t(), print(), and run().
double hilbert_options_t::tolerance |
Definition at line 67 of file options.hpp.
Referenced by GetSolver(), hilbert_options_t(), and print().
std::string hilbert_options_t::trainfile |
IO
Definition at line 84 of file options.hpp.
Referenced by hilbert_options_t(), print(), and run().
std::string hilbert_options_t::valfile |
Definition at line 87 of file options.hpp.
Referenced by hilbert_options_t(), and print().