#include <yat/classifier/FeatureSelectorIR.h>
Public Member Functions | |
FeatureSelectorIR (statistics::Score &score, size_t N, size_t first=0) | |
Default Constructor. | |
void | update (const MatrixLookup &data, const Target &target) |
void | update (const MatrixLookupWeighted &data, const Target &target) |
const MatrixLookup | get (const MatrixLookup &data) |
const MatrixLookupWeighted | get (const MatrixLookupWeighted &data) |
const utility::Index | features (void) const |
Protected Attributes | |
utility::Index | features_ |
features | |
size_t | first_ |
size_t | N_ |
const utility::Index theplu::yat::classifier::FeatureSelector::features | ( | void | ) | const [inherited] |
const MatrixLookupWeighted theplu::yat::classifier::FeatureSelector::get | ( | const MatrixLookupWeighted & | data | ) | [inherited] |
const MatrixLookup theplu::yat::classifier::FeatureSelector::get | ( | const MatrixLookup & | data | ) | [inherited] |
void theplu::yat::classifier::FeatureSelectorIR::update | ( | const MatrixLookupWeighted & | matrix, | |
const Target & | target | |||
) | [virtual] |
Uses matrix to select features.
Implements theplu::yat::classifier::FeatureSelector.
void theplu::yat::classifier::FeatureSelectorIR::update | ( | const MatrixLookup & | matrix, | |
const Target & | target | |||
) | [virtual] |
Uses matrix to select features.
Implements theplu::yat::classifier::FeatureSelector.
size_t theplu::yat::classifier::FeatureSelector::first_ [protected, inherited] |
number of features to skip in list
size_t theplu::yat::classifier::FeatureSelector::N_ [protected, inherited] |
number of features selected and returned