yat
0.14.5pre
|
Interface class for FeatureSelection. More...
#include <yat/classifier/FeatureSelector.h>
Public Member Functions | |
FeatureSelector (size_t N, size_t skip=0) | |
Default Constructor. | |
virtual | ~FeatureSelector (void) |
Destructor. | |
const MatrixLookup | get (const MatrixLookup &data) |
const MatrixLookupWeighted | get (const MatrixLookupWeighted &data) |
const utility::Index | features (void) const |
virtual void | update (const MatrixLookup &matrix, const Target &target)=0 |
virtual void | update (const MatrixLookupWeighted &matrix, const Target &target)=0 |
Protected Attributes | |
utility::Index | features_ |
features | |
size_t | first_ |
size_t | N_ |
Interface class for FeatureSelection.
const utility::Index theplu::yat::classifier::FeatureSelector::features | ( | void | ) | const |
const MatrixLookup theplu::yat::classifier::FeatureSelector::get | ( | const MatrixLookup & | data | ) |
const MatrixLookupWeighted theplu::yat::classifier::FeatureSelector::get | ( | const MatrixLookupWeighted & | data | ) |
|
pure virtual |
Uses matrix to select features.
Implemented in theplu::yat::classifier::FeatureSelectorIR, and theplu::yat::classifier::FeatureSelectorRandom.
|
pure virtual |
Uses matrix to select features.
Implemented in theplu::yat::classifier::FeatureSelectorIR, and theplu::yat::classifier::FeatureSelectorRandom.
|
protected |
number of features to skip in list
|
protected |
number of features selected and returned