31 #ifndef FEATURE_SELECTION_H__ 32 #define FEATURE_SELECTION_H__ 34 #include <shogun/lib/config.h> 256 return "FeatureSelection";
323 void initialize_parameters();
328 #endif // FEATURE_SELECTION_H__
CLabels * get_labels() const
virtual void adapt_params(CFeatures *features)
SGVector< index_t > get_selected_feats()
index_t get_target_dim() const
The class Labels models labels, i.e. class assignments of objects.
virtual EPreprocessorType get_type() const
virtual const char * get_name() const
EFeatureClass
shogun feature class
class to add subset support to another class. A CSubsetStackStack instance should be added and wrappe...
Template class CFeatureSelection, base class for all feature selection preprocessors which select a s...
void set_num_remove(index_t num_remove)
virtual void set_labels(CLabels *labels)
virtual CFeatures * apply_backward_elimination(CFeatures *features)
virtual void precompute()
virtual EFeatureClass get_feature_class()
virtual void set_algorithm(EFeatureSelectionAlgorithm algorithm)=0
virtual void set_policy(EFeatureRemovalPolicy policy)=0
EFeatureSelectionAlgorithm m_algorithm
virtual float64_t compute_measures(CFeatures *features, index_t idx)=0
EFeatureType
shogun feature type
index_t get_num_remove() const
virtual CFeatures * remove_feats(CFeatures *features, SGVector< index_t > argsorted)=0
virtual EFeatureType get_feature_type()
all of classes and functions are contained in the shogun namespace
EFeatureRemovalPolicy m_policy
The class Features is the base class of all feature objects.
EFeatureSelectionAlgorithm
Class Preprocessor defines a preprocessor interface.
EFeatureRemovalPolicy get_policy() const
void set_target_dim(index_t target_dim)
index_t get_num_features(CFeatures *features) const
virtual ~CFeatureSelection()
virtual CFeatures * apply(CFeatures *features)
EFeatureSelectionAlgorithm get_algorithm() const