11 #ifndef _MULTICLASSOCAS_H___ 12 #define _MULTICLASSOCAS_H___ 16 #include <shogun/lib/external/libocas.h> 44 return "MulticlassOCAS";
91 ASSERT(method==0 || method==1)
122 float64_t *alpha, uint32_t nSel,
void* user_data);
126 uint32_t nSel,
void* user_data);
135 static void msvm_print(ocas_return_value_T value);
140 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.
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)
int32_t get_buf_size() const
void set_max_iter(int32_t max_iter)
int32_t get_max_iter() const
Features that support dot products among other operations.
static const float64_t epsilon
generic linear multiclass machine
virtual ~CMulticlassOCAS()
#define MACHINE_PROBLEM_TYPE(PT)
float64_t get_epsilon() const
static int msvm_full_compute_output(float64_t *output, void *user_data)
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.
int32_t get_method() const
virtual const char * get_name() const
void set_buf_size(int32_t buf_size)
void set_epsilon(float64_t epsilon)
static float64_t msvm_update_W(float64_t t, void *user_data)