11 #ifndef _MULTICLASSOCAS_H___
12 #define _MULTICLASSOCAS_H___
18 #include <shogun/lib/external/libocas.h>
46 return "MulticlassOCAS";
93 ASSERT(method==0 || method==1)
124 float64_t *alpha, uint32_t nSel,
void* user_data);
128 uint32_t nSel,
void* user_data);
137 static void msvm_print(ocas_return_value_T value);
142 void register_parameters();
static int msvm_sort_data(float64_t *vals, float64_t *data, uint32_t size)
static void msvm_print(ocas_return_value_T value)
The class Labels models labels, i.e. class assignments of objects.
int32_t get_method() const
static int msvm_full_add_new_cut(float64_t *new_col_H, uint32_t *new_cut, uint32_t nSel, void *user_data)
virtual bool train_machine(CFeatures *data=NULL)
void set_max_iter(int32_t max_iter)
Features that support dot products among other operations.
static const float64_t epsilon
generic linear multiclass machine
virtual ~CMulticlassOCAS()
#define MACHINE_PROBLEM_TYPE(PT)
int32_t get_max_iter() const
static int msvm_full_compute_output(float64_t *output, void *user_data)
float64_t get_epsilon() const
int32_t get_buf_size() const
void set_method(int32_t method)
static void msvm_full_compute_W(float64_t *sq_norm_W, float64_t *dp_WoldW, float64_t *alpha, uint32_t nSel, void *user_data)
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
void set_buf_size(int32_t buf_size)
virtual const char * get_name() const
void set_epsilon(float64_t epsilon)
static float64_t msvm_update_W(float64_t t, void *user_data)