Package mvpa :: Package featsel :: Module base :: Class FeatureSelectionPipeline
[hide private]
[frames] | no frames]

Class FeatureSelectionPipeline

source code


Feature elimination through the list of FeatureSelection's.

Given as list of FeatureSelections it applies them in turn.

Nested Classes [hide private]

Inherited from misc.state.Stateful: __metaclass__

Instance Methods [hide private]
 
__init__(self, feature_selections, **kwargs)
Initialize feature selection pipeline
source code
 
__call__(self, dataset, testdataset=None, **kwargs)
Invocation of the feature selection
source code

Inherited from misc.state.Stateful: __getattribute__, __repr__, __setattr__, __str__, reset

Inherited from object: __delattr__, __hash__, __new__, __reduce__, __reduce_ex__

Class Variables [hide private]
  _collections_template = {'states': <mvpa.misc.state.StateColle...

Inherited from FeatureSelection: selected_ids

Inherited from misc.state.Stateful (private): _initargs

Instance Variables [hide private]
  __feature_selections
Selectors to use in turn
  nfeatures = <mvpa.misc.state.StateVariable object at 0x89e410c>
Number of features at each step (before running selection)
Properties [hide private]
  feature_selections
List of FeatureSelections

Inherited from misc.state.Stateful: descr

Inherited from object: __class__

Method Details [hide private]

__init__(self, feature_selections, **kwargs)
(Constructor)

source code 
Initialize feature selection pipeline
Parameters:
  • feature_selections (lisf of FeatureSelection) - selections which to use. Order matters
Overrides: object.__init__

__call__(self, dataset, testdataset=None, **kwargs)
(Call operator)

source code 
Invocation of the feature selection
Parameters:
  • dataset - dataset used to select features
  • testdataset - dataset the might be used to compute a stopping criterion
Overrides: FeatureSelection.__call__

Class Variable Details [hide private]

_collections_template

Value:
{'states': <mvpa.misc.state.StateCollection object at 0x89e41ec>}

Property Details [hide private]

feature_selections

List of FeatureSelections
Get Method:
unreachable(self)