![]() |
UFJF - Machine Learning Toolkit
0.51.8
|

Public Member Functions | |
| virtual Data< T > | selectFeatures ()=0 |
| Function that executes the feature selection phase. More... | |
| void | setSamples (const std::shared_ptr< Data< T > > &samples) |
| setSamples Set the samples used for the FeatureSelection. More... | |
| void | setSamples (const Data< T > &samples) |
| void | setClassifier (classifier::Classifier< T > *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... | |
Protected Attributes | |
| std::shared_ptr< Data< T > > | samples |
| Attributes. More... | |
| classifier::Classifier< T > * | 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 = 99999 |
| Max depth of search constant. More... | |
| const int | MAX_BREATH = 99999 |
| Max breadth of search constant. More... | |
| const double | NUM_ERROR_EPS = 0.05 |
| Error tolerance constant. More... | |
| int | depth = 0 |
| Depth of search. More... | |
| int | final_dim = 0 |
| Final dimension. More... | |
| int | jump = 0 |
| Jump size. More... | |
| int | skip = 0 |
| Number of levels to be skipped. More... | |
| bool | leave_one_out = false |
| Leave one out. More... | |
| int | verbose = 0 |
| Verbose level. More... | |
|
pure virtual |
Function that executes the feature selection phase.
Implemented in mltk::featselect::RFE< T >, mltk::featselect::Golub< T >, mltk::featselect::Fisher< T >, and mltk::featselect::AOS< T >.
|
inline |
setClassifier Set the classifier used for the FeatureSelection.
| classifier | Reference to the classifier to be used. |
|
inline |
setCrossValidation Set the cross validation structure.
| cv | Cross validation structure. |
|
inline |
setDepth Set the depth of the search.
| depth | Depth of search. |
|
inline |
setFinalDimension Set the classifier used for the FeatureSelection.
| final_dim | The final number of dimensions. |
|
inline |
setJump Set the jump value.
| jump | Jump value. |
|
inline |
setSamples Set the samples used for the FeatureSelection.
| samples | Samples to be used. |
|
inline |
setSkip Set the skip value.
| skip | Skip value. |
|
inline |
setVerbose Set the verbose level.
| verbose | Verbose level. |
|
protected |
Classifier used by the method.
|
protected |
Structure to hold the cross-validation result.
|
protected |
Depth of search.
|
protected |
Final dimension.
|
protected |
Jump size.
|
protected |
Leave one out.
|
protected |
Max breadth of search constant.
|
protected |
Max depth of search constant.
|
protected |
Error tolerance constant.
|
protected |
Attributes.
Samples where the features will be selected
|
protected |
Number of levels to be skipped.
|
protected |
Solution of the feature selection.
|
protected |
Timer for time measuring.
|
protected |
Verbose level.