19 #include <shogun/lib/external/libocas.h>
25 #ifndef DOXYGEN_SHOULD_SKIP_THIS
140 uint32_t nSel,
void* ptr);
159 float64_t *new_col_H, uint32_t *new_cut, uint32_t cut_length,
160 uint32_t nSel,
void* ptr );
178 static inline void print(ocas_return_value_T value)
195 inline const char*
get_name()
const {
return "SVMOcas"; }
MACHINE_PROBLEM_TYPE(PT_BINARY)
static void print(ocas_return_value_T value)
The class Labels models labels, i.e. class assignments of objects.
void set_epsilon(float64_t eps)
virtual bool train_machine(CFeatures *data=NULL)
Features that support dot products among other operations.
virtual float64_t compute_primal_objective() const
SGVector< float64_t > lab
void set_C(float64_t c_neg, float64_t c_pos)
static int compute_output(float64_t *output, void *ptr)
Class LinearMachine is a generic interface for all kinds of linear machines like classifiers.
void set_bufsize(int32_t sz)
void set_bias_enabled(bool enable_bias)
all of classes and functions are contained in the shogun namespace
static int sort(float64_t *vals, float64_t *data, uint32_t size)
static float64_t update_W(float64_t t, void *ptr)
The class Features is the base class of all feature objects.
virtual EMachineType get_classifier_type()
static int add_new_cut(float64_t *new_col_H, uint32_t *new_cut, uint32_t cut_length, uint32_t nSel, void *ptr)
float64_t primal_objective
static void compute_W(float64_t *sq_norm_W, float64_t *dp_WoldW, float64_t *alpha, uint32_t nSel, void *ptr)
const char * get_name() const