Table Of Contents

Previous topic

mvpa.measures.searchlight

Next topic

mvpa.featsel

This Page

Quick search

mvpa.measures.splitmeasure

This is a FeaturewiseDatasetMeasure that uses another FeaturewiseDatasetMeasure and runs it multiple times on differents splits of a Dataset.

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

SplitFeaturewiseMeasure

class mvpa.measures.splitmeasure.SplitFeaturewiseMeasure(sensana, splitter=<class 'mvpa.datasets.splitter.NoneSplitter'>, combiner=<function FirstAxisMean at 0x8d1be2c>, **kwargs)

Bases: mvpa.measures.base.FeaturewiseDatasetMeasure

This is a FeaturewiseDatasetMeasure that uses another FeaturewiseDatasetMeasure and runs it multiple times on differents splits of a Dataset.

When called with a Dataset it returns the mean sensitivity maps of all data splits.

Additonally this class supports the State interface. Several postprocessing functions can be specififed to the constructor. The results of the functions specified in the postproc dictionary will be available via their respective keywords.

Cheap initialization.

Parameters:
  • sensana (FeaturewiseDatasetMeasure) – that shall be run on the Dataset splits.
  • splitter (Splitter) – used to split the Dataset. By convention the first dataset in the tuple returned by the splitter on each iteration is used to compute the sensitivity map.
  • combiner – This functor will be called on an array of sensitivity maps and the result will be returned by __call__(). The result of a combiner must be an 1d ndarray.

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 SplitFeaturewiseMeasure documentation.

Full API documentation of SplitFeaturewiseMeasure in module mvpa.measures.splitmeasure.