15 #include <shogun/lib/config.h> 116 bool bdc_svd =
true);
133 bool bdc_svd =
true);
171 SG_ERROR(
"LDA requires SIMPLE REAL valued features\n")
177 virtual const char*
get_name()
const {
return "LDA"; }
196 template <
typename ST>
204 template <
typename ST>
213 template <
typename ST>
virtual bool train_machine(CFeatures *data=NULL)
virtual EMachineType get_classifier_type()
The class Labels models labels, i.e. class assignments of objects.
CLDA(float64_t gamma=0, ELDAMethod method=AUTO_LDA, bool bdc_svd=true)
virtual void set_features(CDotFeatures *feat)
Features that support dot products among other operations.
Class LDA implements regularized Linear Discriminant Analysis.
bool train_machine_templated()
virtual const char * get_name() const
MACHINE_PROBLEM_TYPE(PT_BINARY)
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.
The class DenseFeatures implements dense feature matrices.
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