UFJF - Machine Learning Toolkit  0.51.8
mltk::featselect::AOS< T > Class Template Reference
Inheritance diagram for mltk::featselect::AOS< T >:
Collaboration diagram for mltk::featselect::AOS< T >:

Classes

class  Hash
 
class  Heap
 
struct  select_gamma
 
struct  select_weight
 

Public Member Functions

void setBreadth (int breadth)
 
void setCut (int cut)
 
void setSortingShape (int sortingShape)
 
void setChoiceShape (int choiceShape)
 
void setLookAheadDepth (int lookAheadDepth)
 
void setMultTempo (double multTempo)
 
 AOS (const Data< T > &samples, classifier::Classifier< T > *classifier, int final_dim, typename validation::CrossValidation *cv=nullptr, int breadth=3, int sorting_shape=1, int choice_shape=1, int look_ahead_depth=0, int cut=0, int skip=1, double bonus=0, int startover=999999, double g_margin=0, bool doleave_oo=0, int verbose=0)
 
Data< T > selectFeatures () override
 Function that executes the feature selection phase. More...
 
void mainLoop (Data< T > &sample)
 
double lookAhead (Data< T > &sample, std::vector< int > fnames_orig, std::vector< double > w_orig, int level_orig)
 
void setQ (int q)
 
- Public Member Functions inherited from mltk::featselect::FeatureSelection< double >
void setSamples (const std::shared_ptr< Data< double > > &samples)
 setSamples Set the samples used for the FeatureSelection. More...
 
void setSamples (const Data< double > &samples)
 
void setClassifier (classifier::Classifier< double > *classifier)
 setClassifier Set the classifier used for the FeatureSelection. More...
 
void setFinalDimension (int final_dim)
 setFinalDimension Set the classifier used for the FeatureSelection. More...
 
void setDepth (int depth)
 setDepth Set the depth of the search. More...
 
void setJump (int jump)
 setJump Set the jump value. More...
 
void setSkip (int skip)
 setSkip Set the skip value. More...
 
void setVerbose (int verbose)
 setVerbose Set the verbose level. More...
 
void setCrossValidation (validation::CrossValidation *cv)
 setCrossValidation Set the cross validation structure. More...
 

Additional Inherited Members

- Protected Attributes inherited from mltk::featselect::FeatureSelection< double >
std::shared_ptr< Data< double > > samples
 Attributes. More...
 
classifier::Classifier< double > * classifier
 Classifier used by the method. More...
 
validation::CrossValidationcv
 Structure to hold the cross-validation result. More...
 
Solution solution
 Solution of the feature selection. More...
 
Timer timer
 Timer for time measuring. More...
 
const int MAX_DEPTH
 Max depth of search constant. More...
 
const int MAX_BREATH
 Max breadth of search constant. More...
 
const double NUM_ERROR_EPS
 Error tolerance constant. More...
 
int depth
 Depth of search. More...
 
int final_dim
 Final dimension. More...
 
int jump
 Jump size. More...
 
int skip
 Number of levels to be skipped. More...
 
bool leave_one_out
 Leave one out. More...
 
int verbose
 Verbose level. More...
 

Member Function Documentation

◆ selectFeatures()

template<typename T >
Data< T > mltk::featselect::AOS< T >::selectFeatures
overridevirtual

Function that executes the feature selection phase.

Returns
void std::shared_ptr<Data< T > >

Implements mltk::featselect::FeatureSelection< double >.


The documentation for this class was generated from the following file: