129 SG_ERROR(
"QDA requires SIMPLE REAL valued features\n")
146 virtual const char*
get_name()
const {
return "QDA"; }
167 REQUIRE(m_store_covs,
"Covariance matrices were not stored. "
168 "Please activate to access them subsequently.\n");
197 int32_t m_num_classes;
virtual EMachineType get_classifier_type()
Class QDA implements Quadratic Discriminant Analysis.
void set_tolerance(float64_t tolerance)
experimental abstract native multiclass machine class
The class Labels models labels, i.e. class assignments of objects.
virtual const char * get_name() const
virtual CDotFeatures * get_features()
Features that support dot products among other operations.
T * get_matrix(index_t matIdx) const
SGMatrix< float64_t > get_cov(int32_t c) const
Multiclass Labels for multi-class classification.
SGVector< float64_t > get_mean(int32_t c) const
#define MACHINE_PROBLEM_TYPE(PT)
virtual CMulticlassLabels * apply_multiclass(CFeatures *data=NULL)
virtual EFeatureClass get_feature_class() const =0
T * get_column_vector(index_t col) const
all of classes and functions are contained in the shogun namespace
void set_store_covs(bool store_covs)
virtual void set_features(CDotFeatures *feat)
The class Features is the base class of all feature objects.
virtual bool train_machine(CFeatures *data=NULL)
virtual EFeatureType get_feature_type() const =0