24 #define LIBBMRM_PLUS_INF (-log(0.0))
25 #define LIBBMRM_CALLOC(x, y) SG_CALLOC(y, x)
26 #define LIBBMRM_REALLOC(x, y) SG_REALLOC(x, y)
27 #define LIBBMRM_FREE(x) SG_FREE(x)
28 #define LIBBMRM_MEMCPY(x, y, z) memcpy(x, y, z)
29 #define LIBBMRM_MEMMOVE(x, y, z) memmove(x, y, z)
30 #define LIBBMRM_INDEX(ROW, COL, NUM_ROWS) ((COL)*(NUM_ROWS)+(ROW))
31 #define LIBBMRM_ABS(A) ((A) < 0 ? -(A) : (A))
36 extern uint32_t BufSize;
78 void add_cutting_plane(
93 void remove_cutting_plane(
102 void clean_icp(ICP_stats* icp_stats,
103 BmrmStatistics& bmrm,
113 uint32_t cp_models = 0
121 inline float64_t * get_cutting_plane(bmrm_ll *ptr) {
return ptr->address; }
129 inline uint32_t find_free_idx(
bool *map, uint32_t size)
131 for (uint32_t i=0; i<size; ++i)
if (map[i])
return i;
132 SG_SERROR(
"No free index available in CP buffer of size %d.\n", size);
151 BmrmStatistics svm_bmrm_solver(
152 CDualLibQPBMSOSVM *machine,
162 bool store_train_info
166 #endif //USE_GPL_SHOGUN
all of classes and functions are contained in the shogun namespace
#define IGNORE_IN_CLASSLIST