Skylark (Sketching Library)  0.1
Classes | Defines | Enumerations | Variables
/var/lib/jenkins/jobs/Skylark/workspace/ml/options.hpp File Reference
#include <boost/program_options.hpp>
Include dependency graph for options.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hilbert_options_t

Defines

#define DEFAULT_LAMBDA   0.0
#define DEFAULT_RHO   1.0
#define DEFAULT_THREADS   1
#define DEFAULT_FEATURE_PARTITIONS   1
#define DEFAULT_KERPARAM   1.0
#define DEFAULT_TOL   0.001
#define DEFAULT_MAXITER   100
#define DEFAULT_SEED   12345
#define DEFAULT_RF   100
#define DEFAULT_KERNEL   0
#define DEFAULT_FILEFORMAT   0

Enumerations

enum  LossType { SQUARED = 0, LAD = 1, HINGE = 2, LOGISTIC = 3 }
enum  RegularizerType { L2 = 0, L1 = 1 }
enum  ProblemType { REGRESSION = 0, CLASSIFICATION = 1 }
enum  KernelType {
  LINEAR = 0, GAUSSIAN = 1, POLYNOMIAL = 2, LAPLACIAN = 3,
  EXPSEMIGROUP = 4
}
enum  FileFormatType { LIBSVM_DENSE = 0, LIBSVM_SPARSE = 1, HDF5_DENSE = 2, HDF5_SPARSE = 3 }

Variables

std::string Losses []
std::string Regularizers [] = {"L2", "L1"}
std::string Problems [] = {"Regression", "Classification"}
std::string Kernels []
std::string FileFormats [] = {"libsvm-dense", "libsvm-sparse", "hdf5_dense", "hdf5_sparse"}

Define Documentation

Definition at line 18 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().

#define DEFAULT_FILEFORMAT   0

Definition at line 25 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().

#define DEFAULT_KERNEL   0

Definition at line 24 of file options.hpp.

#define DEFAULT_KERPARAM   1.0

Definition at line 19 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().

#define DEFAULT_LAMBDA   0.0

Definition at line 15 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().

#define DEFAULT_MAXITER   100

Definition at line 21 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().

#define DEFAULT_RF   100

Definition at line 23 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().

#define DEFAULT_RHO   1.0

Definition at line 16 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().

#define DEFAULT_SEED   12345

Definition at line 22 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().

#define DEFAULT_THREADS   1

Definition at line 17 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().

#define DEFAULT_TOL   0.001

Definition at line 20 of file options.hpp.

Referenced by hilbert_options_t::hilbert_options_t().


Enumeration Type Documentation

Enumerator:
LIBSVM_DENSE 
LIBSVM_SPARSE 
HDF5_DENSE 
HDF5_SPARSE 

Definition at line 44 of file options.hpp.

enum KernelType
Enumerator:
LINEAR 
GAUSSIAN 
POLYNOMIAL 
LAPLACIAN 
EXPSEMIGROUP 

Definition at line 39 of file options.hpp.

enum LossType
Enumerator:
SQUARED 
LAD 
HINGE 
LOGISTIC 

Definition at line 27 of file options.hpp.

Enumerator:
REGRESSION 
CLASSIFICATION 

Definition at line 36 of file options.hpp.

Enumerator:
L2 
L1 

Definition at line 33 of file options.hpp.


Variable Documentation

std::string FileFormats[] = {"libsvm-dense", "libsvm-sparse", "hdf5_dense", "hdf5_sparse"}

Definition at line 45 of file options.hpp.

std::string Kernels[]
Initial value:
 {"Linear", "Gaussian",
                         "Polynomial", "Laplacian", "ExpSemigroup"}

Definition at line 41 of file options.hpp.

Referenced by hilbert_options_t::print().

std::string Losses[]
Initial value:
 {"Squared Loss",
                        "Least Absolute Deviations",
                        "Hinge Loss (SVMs)",
                        "Logistic Loss"}

Definition at line 28 of file options.hpp.

Referenced by hilbert_options_t::print().

std::string Problems[] = {"Regression", "Classification"}

Definition at line 37 of file options.hpp.

std::string Regularizers[] = {"L2", "L1"}

Definition at line 34 of file options.hpp.

Referenced by hilbert_options_t::print().