SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Functions
libbmrm.h File Reference

Go to the source code of this file.

Classes

struct  bmrm_ll
struct  ICP_stats

Macros

#define LIBBMRM_PLUS_INF   (-log(0.0))
#define LIBBMRM_CALLOC(x, y)   SG_CALLOC(y, x)
#define LIBBMRM_REALLOC(x, y)   SG_REALLOC(x, y)
#define LIBBMRM_FREE(x)   SG_FREE(x)
#define LIBBMRM_MEMCPY(x, y, z)   memcpy(x, y, z)
#define LIBBMRM_MEMMOVE(x, y, z)   memmove(x, y, z)
#define LIBBMRM_INDEX(ROW, COL, NUM_ROWS)   ((COL)*(NUM_ROWS)+(ROW))
#define LIBBMRM_ABS(A)   ((A) < 0 ? -(A) : (A))

Functions

void add_cutting_plane (bmrm_ll **tail, bool *map, float64_t *A, uint32_t free_idx, float64_t *cp_data, uint32_t dim)
void remove_cutting_plane (bmrm_ll **head, bmrm_ll **tail, bool *map, float64_t *icp)
void clean_icp (ICP_stats *icp_stats, BmrmStatistics &bmrm, bmrm_ll **head, bmrm_ll **tail, float64_t *&Hmat, float64_t *&diag_H, float64_t *&beta, bool *&map, uint32_t cleanAfter, float64_t *&b, uint32_t *&I, uint32_t cp_models)
float64_tget_cutting_plane (bmrm_ll *ptr)
uint32_t find_free_idx (bool *map, uint32_t size)
BmrmStatistics svm_bmrm_solver (CDualLibQPBMSOSVM *machine, float64_t *W, float64_t TolRel, float64_t TolAbs, float64_t _lambda, uint32_t _BufSize, bool cleanICP, uint32_t cleanAfter, float64_t K, uint32_t Tmax, bool verbose)

Macro Definition Documentation

#define LIBBMRM_ABS (   A)    ((A) < 0 ? -(A) : (A))

Definition at line 31 of file libbmrm.h.

#define LIBBMRM_CALLOC (   x,
 
)    SG_CALLOC(y, x)

Definition at line 25 of file libbmrm.h.

#define LIBBMRM_FREE (   x)    SG_FREE(x)

Definition at line 27 of file libbmrm.h.

#define LIBBMRM_INDEX (   ROW,
  COL,
  NUM_ROWS 
)    ((COL)*(NUM_ROWS)+(ROW))

Definition at line 30 of file libbmrm.h.

#define LIBBMRM_MEMCPY (   x,
  y,
 
)    memcpy(x, y, z)

Definition at line 28 of file libbmrm.h.

#define LIBBMRM_MEMMOVE (   x,
  y,
 
)    memmove(x, y, z)

Definition at line 29 of file libbmrm.h.

#define LIBBMRM_PLUS_INF   (-log(0.0))

Definition at line 24 of file libbmrm.h.

#define LIBBMRM_REALLOC (   x,
 
)    SG_REALLOC(x, y)

Definition at line 26 of file libbmrm.h.


SHOGUN Machine Learning Toolbox - Documentation