yat  0.10.4pre
Public Member Functions | Protected Attributes
theplu::yat::classifier::FeatureSelectorRandom Class Reference

Class for selection features by random. More...

#include </scratch/bob/jari/tmp/pristine/yat-0.10.x/yat/classifier/FeatureSelectorRandom.h>

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

List of all members.

Public Member Functions

 FeatureSelectorRandom (size_t N)
 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

Class for selection features by random.


Constructor & Destructor Documentation

theplu::yat::classifier::FeatureSelectorRandom::FeatureSelectorRandom ( size_t  N)

Default Constructor.

Parameters:
Nnumber of features to select

Member Function Documentation

const utility::Index theplu::yat::classifier::FeatureSelector::features ( void  ) const
inherited
Returns:
indices corresponding to selected features.
const MatrixLookup theplu::yat::classifier::FeatureSelector::get ( const MatrixLookup data)
inherited
Returns:
MatrixLookup containing only selected features.
const MatrixLookupWeighted theplu::yat::classifier::FeatureSelector::get ( const MatrixLookupWeighted data)
inherited
Returns:
MatrixLookupWeighted containing only selected features.
void theplu::yat::classifier::FeatureSelectorRandom::update ( const MatrixLookup matrix,
const Target target 
)
virtual

Uses matrix to select features.

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

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

Uses matrix to select features.

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


Member Data Documentation

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

number of features to skip in list

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 Mon Nov 11 2013 09:41:44 for yat by  doxygen 1.8.1