LTI-Lib latest version v1.9 - last update 24 Nov 2005
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

lti::featureSelector Class Reference

Abstract base class for all feature selectors. More...

#include <ltiFeatureSelector.h>

Inheritance diagram for lti::featureSelector:

Inheritance graph
[legend]
Collaboration diagram for lti::featureSelector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 featureSelector ()
 featureSelector (const featureSelector &other)
virtual ~featureSelector ()
virtual const char * getTypeName () const
virtual bool apply (const dmatrix &src, const ivector &srcIds, dmatrix &dest) const =0
virtual dmatrix apply (const dmatrix &src, const ivector &srcIds) const
featureSelectorcopy (const featureSelector &other)
featureSelectoroperator= (const featureSelector &other)
virtual functorclone () const =0
const parametersgetParameters () const

Classes

class  parameters
 the parameters for the class featureSelector More...

Detailed Description

Abstract base class for all feature selectors.

A feature selector extracts the most significant features from a data set.


Constructor & Destructor Documentation

lti::featureSelector::featureSelector  ) 
 

default constructor

lti::featureSelector::featureSelector const featureSelector other  ) 
 

copy constructor

Parameters:
other the object to be copied

virtual lti::featureSelector::~featureSelector  )  [virtual]
 

destructor


Member Function Documentation

virtual dmatrix lti::featureSelector::apply const dmatrix src,
const ivector srcIds
const [virtual]
 

Extracts the best features of src copies them to dest.

Parameters:
src dmatrix with the source data.
srcIds ivector with the ids corresponding to src
Returns:
the data set, that contains only the extracted features

virtual bool lti::featureSelector::apply const dmatrix src,
const ivector srcIds,
dmatrix dest
const [pure virtual]
 

Extracts the best features of src copies them to dest.

Parameters:
src dmatrix with the source data.
srcIds ivector with the ids corresponding to src
dest dmatrix where the result will be left.
Returns:
true if apply successful or false otherwise.

Implemented in lti::plusLTakeAwayR, and lti::sffs.

virtual functor* lti::featureSelector::clone  )  const [pure virtual]
 

returns a pointer to a clone of this functor.

Implements lti::functor.

Implemented in lti::plusLTakeAwayR, lti::sequentialBackwardSearch, lti::sequentialForwardSearch, and lti::sffs.

featureSelector& lti::featureSelector::copy const featureSelector other  ) 
 

copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

const parameters& lti::featureSelector::getParameters  )  const
 

returns used parameters

Reimplemented from lti::functor.

Reimplemented in lti::plusLTakeAwayR, lti::sequentialBackwardSearch, lti::sequentialForwardSearch, and lti::sffs.

virtual const char* lti::featureSelector::getTypeName  )  const [virtual]
 

returns the name of this type ("featureSelector")

Reimplemented from lti::functor.

Reimplemented in lti::plusLTakeAwayR, lti::sequentialBackwardSearch, lti::sequentialForwardSearch, and lti::sffs.

featureSelector& lti::featureSelector::operator= const featureSelector other  ) 
 

alias for copy member

Parameters:
other the functor to be copied
Returns:
a reference to this functor object


The documentation for this class was generated from the following file:
Generated on Thu Nov 24 16:31:59 2005 for LTI-Lib by Doxygen 1.4.4