Table Of Contents

Previous topic

mvpa.featsel.helpers

Next topic

mvpa.featsel.rfe

This Page

Quick search

mvpa.featsel.ifs

Incremental feature search (IFS).

Very similar to Recursive feature elimination (RFE), but instead of begining with all features and stripping some sequentially, start with an empty feature set and include important features successively.

The comprehensive API documentation for this module, including all technical details, is available in the Epydoc-generated API reference for mvpa.featsel.ifs (for developers).

IFS

class mvpa.featsel.ifs.IFS

Bases: mvpa.featsel.base.FeatureSelection

Incremental feature search.

A scalar DatasetMeasure is computed multiple times on variations of a certain dataset. These measures are in turn used to incrementally select important features. Starting with an empty feature set the dataset measure is first computed for each single feature. A number of features is selected based on the resulting data measure map (using an ElementSelector).

Next the dataset measure is computed again using each feature in addition to the already selected feature set. Again the ElementSelector is used to select more features.

For each feature selection the transfer error on some testdatset is computed. This procedure is repeated until a given StoppingCriterion is reached.

Initialize incremental feature search

Parameters:
  • data_measure (DatasetMeasure) – Computed for each candidate feature selection.
  • transfer_error (TransferError) – Compute against a test dataset for each incremental feature set.
  • bestdetector (Functor) – Given a list of error values it has to return a boolean that signals whether the latest error value is the total minimum.
  • stopping_criterion (Functor) – Given a list of error values it has to return whether the criterion is fulfilled.

See also

Derived classes might provide additional methods via their base classes. Please refer to the list of base classes (if it exists) at the begining of the IFS documentation.

Full API documentation of IFS in module mvpa.featsel.ifs.