SHOGUN  v3.2.0
List of all members | Public Member Functions | Public Attributes
BmrmStatistics Struct Reference

Detailed Description

BMRM statistics like number of iterations etc

Definition at line 22 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

◆ BmrmStatistics()

constructor

Definition at line 25 of file BmrmStatistics.h.

◆ ~BmrmStatistics()

virtual ~BmrmStatistics ( )
virtual

destructor

Definition at line 37 of file BmrmStatistics.h.

Member Function Documentation

◆ get_hist_Fd_vector()

SGVector< float64_t > get_hist_Fd_vector ( ) const

getter for hist_Fd

Definition at line 83 of file BmrmStatistics.h.

◆ get_hist_Fp_vector()

SGVector< float64_t > get_hist_Fp_vector ( ) const

getter for hist_Fp

Definition at line 77 of file BmrmStatistics.h.

◆ get_hist_wdist_vector()

SGVector< float64_t > get_hist_wdist_vector ( ) const

getter for hist_wdist

Definition at line 89 of file BmrmStatistics.h.

◆ get_n_iters()

uint32_t get_n_iters ( ) const

getter for nIter

Definition at line 49 of file BmrmStatistics.h.

◆ load_serializable()

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

dummy load serializable

Definition at line 40 of file BmrmStatistics.h.

◆ save_serializable()

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

dummy save serializable

Definition at line 43 of file BmrmStatistics.h.

Member Data Documentation

◆ exitflag

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 71 of file BmrmStatistics.h.

◆ Fd

reduced (dual) objective value

Definition at line 61 of file BmrmStatistics.h.

◆ Fp

primal objective value

Definition at line 58 of file BmrmStatistics.h.

◆ hist_Fd

SGVector< float64_t > hist_Fd

Track of Fd values in individual iterations

Definition at line 77 of file BmrmStatistics.h.

◆ hist_Fp

SGVector< float64_t > hist_Fp

Track of Fp values in individual iterations

Definition at line 74 of file BmrmStatistics.h.

◆ hist_wdist

SGVector< float64_t > hist_wdist

Track of w_dist values in individual iterations

Definition at line 83 of file BmrmStatistics.h.

◆ nCP

uint32_t nCP

number of cutting planes

Definition at line 52 of file BmrmStatistics.h.

◆ nIter

uint32_t nIter

number of iterations

Definition at line 46 of file BmrmStatistics.h.

◆ nzA

uint32_t nzA

number of active cutting planes

Definition at line 55 of file BmrmStatistics.h.

◆ qp_exitflag

int8_t qp_exitflag

exitflag from the last call of the inner QP solver

Definition at line 64 of file BmrmStatistics.h.


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

SHOGUN Machine Learning Toolbox - Documentation