|
latest version v1.9 - last update 10 Apr 2010 |
|
This class implements the plus l - take away r algorithm descripted in: P. More...
#include <ltiPlusLTakeAwayR.h>


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 |
| plusLTakeAwayR & | copy (const plusLTakeAwayR &other) |
| plusLTakeAwayR & | operator= (const plusLTakeAwayR &other) |
| virtual functor * | clone () const |
| const parameters & | getParameters () const |
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.
| lti::plusLTakeAwayR::plusLTakeAwayR | ( | ) |
default constructor
| lti::plusLTakeAwayR::plusLTakeAwayR | ( | const plusLTakeAwayR & | other | ) |
copy constructor
| other | the object to be copied |
| virtual lti::plusLTakeAwayR::~plusLTakeAwayR | ( | ) | [virtual] |
destructor
| 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
| src | dmatrix with the source data. | |
| srcIds | ivector with the ids corresponding to src | |
| dest | dmatrix where the result will be left. |
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.
| other | the functor to be copied |
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
| other | the functor to be copied |
Reimplemented from lti::featureSelector.
Reimplemented in lti::sequentialBackwardSearch, and lti::sequentialForwardSearch.