LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::plusLTakeAwayR Class Reference

This class implements the plus l - take away r algorithm descripted in: P. More...

#include <ltiPlusLTakeAwayR.h>

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

List of all members.

Classes

class  parameters
 the parameters for the class plusLTakeAwayR More...

Public Member Functions

 plusLTakeAwayR ()
 plusLTakeAwayR (const plusLTakeAwayR &other)
virtual ~plusLTakeAwayR ()
virtual const char * getTypeName () const
bool apply (const dmatrix &src, const ivector &srcIds, dmatrix &dest) const
plusLTakeAwayRcopy (const plusLTakeAwayR &other)
plusLTakeAwayRoperator= (const plusLTakeAwayR &other)
virtual functorclone () const
const parametersgetParameters () const

Detailed Description

This class implements the plus l - take away r algorithm descripted in: P.

Pudil, F.J. Ferri, J. Novovicova, J. Kittler. "Floating Search Methods for Feature Selection with nonmonotonic criterion functions" Proceddings of the IEEE Intl. Conf. on Pattern Recognition, 279-283, 1994; In each iteration it adds the l best features and from the source data to the destination data. Then the r least significant features are deleted from this data set. This is done until the predetermined number of features is reached As criterion function cross validation is used.


Constructor & Destructor Documentation

lti::plusLTakeAwayR::plusLTakeAwayR (  ) 

default constructor

lti::plusLTakeAwayR::plusLTakeAwayR ( const plusLTakeAwayR other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::plusLTakeAwayR::~plusLTakeAwayR (  )  [virtual]

destructor


Member Function Documentation

bool lti::plusLTakeAwayR::apply ( const dmatrix src,
const ivector srcIds,
dmatrix dest 
) const [virtual]

extracts the k, that is a parameter, best features of src and 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.

Implements lti::featureSelector.

virtual functor* lti::plusLTakeAwayR::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Implements lti::featureSelector.

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

plusLTakeAwayR& lti::plusLTakeAwayR::copy ( const plusLTakeAwayR other  ) 

copy data of "other" functor.

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

Reimplemented from lti::featureSelector.

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

const parameters& lti::plusLTakeAwayR::getParameters (  )  const

returns used parameters

Reimplemented from lti::featureSelector.

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

virtual const char* lti::plusLTakeAwayR::getTypeName (  )  const [virtual]

returns the name of this type ("plusLTakeAwayR")

Reimplemented from lti::featureSelector.

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

plusLTakeAwayR& lti::plusLTakeAwayR::operator= ( const plusLTakeAwayR other  ) 

alias for copy member

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

Reimplemented from lti::featureSelector.

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


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

Generated on Sat Apr 10 15:26:55 2010 for LTI-Lib by Doxygen 1.6.1