yat
0.14.5pre
|
Class for selection features by random. More...
#include <yat/classifier/FeatureSelectorRandom.h>
Public Member Functions | |
FeatureSelectorRandom (size_t N) | |
Default Constructor. More... | |
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_ |
Class for selection features by random.
theplu::yat::classifier::FeatureSelectorRandom::FeatureSelectorRandom | ( | size_t | N | ) |
Default Constructor.
N | number of features to select |
|
inherited |
|
inherited |
|
inherited |
|
virtual |
Uses matrix to select features.
Implements theplu::yat::classifier::FeatureSelector.
|
virtual |
Uses matrix to select features.
Implements theplu::yat::classifier::FeatureSelector.
|
protectedinherited |
number of features to skip in list
|
protectedinherited |
number of features selected and returned