yat  0.21pre
Public Member Functions | Protected Attributes | List of all members
theplu::yat::classifier::FeatureSelectorIR Class Reference

FeatureSelector using an InputRanker. More...

#include <yat/classifier/FeatureSelectorIR.h>

Inheritance diagram for theplu::yat::classifier::FeatureSelectorIR:
theplu::yat::classifier::FeatureSelector

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_
 

Detailed Description

FeatureSelector using an InputRanker.

Member Function Documentation

◆ features()

const utility::Index theplu::yat::classifier::FeatureSelector::features ( void  ) const
inherited
Returns
indices corresponding to selected features.

◆ get() [1/2]

const MatrixLookup theplu::yat::classifier::FeatureSelector::get ( const MatrixLookup data)
inherited
Returns
MatrixLookup containing only selected features.

◆ get() [2/2]

const MatrixLookupWeighted theplu::yat::classifier::FeatureSelector::get ( const MatrixLookupWeighted data)
inherited
Returns
MatrixLookupWeighted containing only selected features.

◆ update() [1/2]

void theplu::yat::classifier::FeatureSelectorIR::update ( const MatrixLookup matrix,
const Target target 
)
virtual

Uses matrix to select features.

Implements theplu::yat::classifier::FeatureSelector.

◆ update() [2/2]

void theplu::yat::classifier::FeatureSelectorIR::update ( const MatrixLookupWeighted matrix,
const Target target 
)
virtual

Uses matrix to select features.

Implements theplu::yat::classifier::FeatureSelector.

Member Data Documentation

◆ first_

size_t theplu::yat::classifier::FeatureSelector::first_
protectedinherited

number of features to skip in list

◆ N_

size_t theplu::yat::classifier::FeatureSelector::N_
protectedinherited

number of features selected and returned


The documentation for this class was generated from the following file:

Generated on Wed Jan 25 2023 03:34:29 for yat by  doxygen 1.8.14