63 SG_ERROR(
"LPM requires SPARSE REAL valued features\n")
86 virtual const char*
get_name()
const {
return "LPM"; }
MACHINE_PROBLEM_TYPE(PT_BINARY)
virtual EMachineType get_classifier_type()
Class LPM trains a linear classifier called Linear Programming Machine, i.e. a SVM using a norm regu...
virtual void set_features(CDotFeatures *feat)
Features that support dot products among other operations.
virtual const char * get_name() const
virtual void set_features(CDotFeatures *feat)
virtual bool train_machine(CFeatures *data=NULL)
virtual EFeatureClass get_feature_class() const =0
Class LinearMachine is a generic interface for all kinds of linear machines like classifiers.
void set_bias_enabled(bool enable_bias)
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
void set_epsilon(float64_t eps)
void set_C(float64_t c_neg, float64_t c_pos)
virtual EFeatureType get_feature_type() const =0