theplu::yat::classifier::FeatureSelector Class Reference

Interface class for FeatureSelection. More...

#include <yat/classifier/FeatureSelector.h>

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

theplu::yat::classifier::FeatureSelectorIR theplu::yat::classifier::FeatureSelectorRandom

List of all members.

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_


Detailed Description

Interface class for FeatureSelection.

Constructor & Destructor Documentation

virtual theplu::yat::classifier::FeatureSelector::~FeatureSelector ( void   )  [virtual]

Destructor.

Cleaning upp all objects that have beed returned from FeatureSelector.


Member Function Documentation

const MatrixLookup theplu::yat::classifier::FeatureSelector::get ( const MatrixLookup data  ) 

Returns:
MatrixLookup containing only selected features.

const MatrixLookupWeighted theplu::yat::classifier::FeatureSelector::get ( const MatrixLookupWeighted data  ) 

Returns:
MatrixLookupWeighted containing only selected features.

const utility::Index theplu::yat::classifier::FeatureSelector::features ( void   )  const

Returns:
indices corresponding to selected features.

virtual void theplu::yat::classifier::FeatureSelector::update ( const MatrixLookup matrix,
const Target target 
) [pure virtual]

virtual void theplu::yat::classifier::FeatureSelector::update ( const MatrixLookupWeighted matrix,
const Target target 
) [pure virtual]


Member Data Documentation

number of features to skip in list

number of features selected and returned


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

Generated on Tue Jan 18 02:20:10 2011 for yat by  doxygen 1.5.5