147 SG_ERROR(
"LDA requires SIMPLE REAL valued features\n")
153 virtual const char*
get_name()
const {
return "LDA"; }
virtual bool train_machine(CFeatures *data=NULL)
The class DenseFeatures implements dense feature matrices.
virtual EMachineType get_classifier_type()
The class Labels models labels, i.e. class assignments of objects.
virtual void set_features(CDotFeatures *feat)
Features that support dot products among other operations.
Class LDA implements regularized Linear Discriminant Analysis.
virtual const char * get_name() const
MACHINE_PROBLEM_TYPE(PT_BINARY)
CLDA(float64_t gamma=0, ELDAMethod method=AUTO_LDA)
virtual void set_features(CDotFeatures *feat)
virtual EFeatureClass get_feature_class() const =0
Class LinearMachine is a generic interface for all kinds of linear machines like classifiers.
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
void set_gamma(float64_t gamma)
virtual EFeatureType get_feature_type() const =0