11 #ifndef __STOCHASTIC_SOSVM_H__
12 #define __STOCHASTIC_SOSVM_H__
46 bool do_weighted_averaging =
true,
bool verbose =
false);
52 virtual const char*
get_name()
const {
return "StochasticSOSVM"; }
116 bool m_do_weighted_averaging;
119 uint32_t m_rand_seed;
127 int32_t m_debug_multiplier;
Base class of the labels used in Structured Output (SO) problems.
uint32_t get_rand_seed() const
int32_t get_debug_multiplier() const
void set_debug_multiplier(int32_t multiplier)
virtual const char * get_name() const
virtual bool train_machine(CFeatures *data=NULL)
void set_num_iter(int32_t num_iter)
void set_rand_seed(uint32_t rand_seed)
Class CStochasticSOSVM solves SOSVM using stochastic subgradient descent on the SVM primal problem [1...
Class CStructuredModel that represents the application specific model and contains most of the applic...
The class Features is the base class of all feature objects.
void set_lambda(float64_t lbda)
virtual EMachineType get_classifier_type()
float64_t get_lambda() const
int32_t get_num_iter() const