SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
BmrmStatistics Struct Reference

Detailed Description

BMRM statistics like number of iterations etc

Definition at line 24 of file BmrmStatistics.h.

Public Member Functions

 BmrmStatistics ()
virtual ~BmrmStatistics ()
bool load_serializable (CSerializableFile *file, const char *prefix="")
bool save_serializable (CSerializableFile *file, const char *prefix="")
uint32_t get_n_iters () const
SGVector< float64_tget_hist_Fp_vector () const
SGVector< float64_tget_hist_Fd_vector () const
SGVector< float64_tget_hist_wdist_vector () const

Public Attributes

uint32_t nIter
uint32_t nCP
uint32_t nzA
float64_t Fp
float64_t Fd
int8_t qp_exitflag
int8_t exitflag
SGVector< float64_thist_Fp
SGVector< float64_thist_Fd
SGVector< float64_thist_wdist

Constructor & Destructor Documentation

constructor

Definition at line 27 of file BmrmStatistics.h.

virtual ~BmrmStatistics ( )
virtual

destructor

Definition at line 39 of file BmrmStatistics.h.

Member Function Documentation

SGVector< float64_t > get_hist_Fd_vector ( ) const

getter for hist_Fd

Definition at line 85 of file BmrmStatistics.h.

SGVector< float64_t > get_hist_Fp_vector ( ) const

getter for hist_Fp

Definition at line 79 of file BmrmStatistics.h.

SGVector< float64_t > get_hist_wdist_vector ( ) const

getter for hist_wdist

Definition at line 91 of file BmrmStatistics.h.

uint32_t get_n_iters ( ) const

getter for nIter

Definition at line 51 of file BmrmStatistics.h.

bool load_serializable ( CSerializableFile file,
const char *  prefix = "" 
)

dummy load serializable

Definition at line 42 of file BmrmStatistics.h.

bool save_serializable ( CSerializableFile file,
const char *  prefix = "" 
)

dummy save serializable

Definition at line 45 of file BmrmStatistics.h.

Member Data Documentation

int8_t exitflag

1 .. bmrm.Q_P - bmrm.Q_D <= TolRel*ABS(bmrm.Q_P) 2 .. bmrm.Q_P - bmrm.Q_D <= TolAbs -1 .. bmrm.nCutPlanes >= BufSize -2 .. not enough memory for the solver

Definition at line 73 of file BmrmStatistics.h.

reduced (dual) objective value

Definition at line 63 of file BmrmStatistics.h.

primal objective value

Definition at line 60 of file BmrmStatistics.h.

SGVector< float64_t > hist_Fd

Track of Fd values in individual iterations

Definition at line 79 of file BmrmStatistics.h.

SGVector< float64_t > hist_Fp

Track of Fp values in individual iterations

Definition at line 76 of file BmrmStatistics.h.

SGVector< float64_t > hist_wdist

Track of w_dist values in individual iterations

Definition at line 85 of file BmrmStatistics.h.

uint32_t nCP

number of cutting planes

Definition at line 54 of file BmrmStatistics.h.

uint32_t nIter

number of iterations

Definition at line 48 of file BmrmStatistics.h.

uint32_t nzA

number of active cutting planes

Definition at line 57 of file BmrmStatistics.h.

int8_t qp_exitflag

exitflag from the last call of the inner QP solver

Definition at line 66 of file BmrmStatistics.h.


The documentation for this struct was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation