![]() |
UFJF - Machine Learning Toolkit
0.51.8
|
Public Member Functions | |
RFE (const Data< T > &samples, classifier::Classifier< T > *classifier, int final_dim, validation::CrossValidation *cv=nullptr, int skip=1, int jump=1, bool leave_one_out=false) | |
Data< T > | selectFeatures () override |
Function that executes the feature selection phase. More... | |
![]() | |
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 | |
![]() | |
std::shared_ptr< Data< double > > | samples |
Attributes. More... | |
classifier::Classifier< double > * | classifier |
Classifier used by the method. More... | |
validation::CrossValidation * | cv |
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... | |
|
overridevirtual |
Function that executes the feature selection phase.
Implements mltk::featselect::FeatureSelection< double >.