11 #ifndef _LINEARCLASSIFIER_H__ 
   12 #define _LINEARCLASSIFIER_H__ 
   27 class CRegressionLabels;
 
  135         virtual const char* 
get_name()
 const { 
return "LinearMachine"; }
 
virtual CBinaryLabels * apply_binary(CFeatures *data=NULL)
 
virtual SGVector< float64_t > apply_get_outputs(CFeatures *data)
 
Real Labels are real-valued labels. 
 
virtual CRegressionLabels * apply_regression(CFeatures *data=NULL)
 
virtual void set_w(const SGVector< float64_t > src_w)
 
virtual CDotFeatures * get_features()
 
Features that support dot products among other operations. 
 
A generic learning machine interface. 
 
virtual float64_t apply_one(int32_t vec_idx)
 
virtual const char * get_name() const 
 
virtual void set_features(CDotFeatures *feat)
 
Class LinearMachine is a generic interface for all kinds of linear machines like classifiers. 
 
virtual void store_model_features()
 
virtual SGVector< float64_t > get_w() const 
 
virtual ~CLinearMachine()
 
all of classes and functions are contained in the shogun namespace 
 
The class Features is the base class of all feature objects. 
 
virtual float64_t get_bias()
 
Binary Labels for binary classification. 
 
virtual void set_bias(float64_t b)