This content refers to an unreleased development version of PyMVPA
To provide the most recent news and documentation www.pymvpa.org reflects the development 0.6 series of PyMVPA. If you are interested in the documentation of the previous stable 0.4 series of PyMVPA, please visit v04.pymvpa.org.

mvpa.mappers.fx.FxMapper

Inheritance diagram of FxMapper

class mvpa.mappers.fx.FxMapper(axis, fx, fxargs=None, uattrs=None, attrfx='merge')

Apply a custom transformation to (groups of) samples or features.

Notes

Available conditional attributes:

  • calling_time+: Time (in seconds) it took to call the node
  • training_time+: Time (in seconds) it took to train the learner

(Conditional attributes enabled by default suffixed with +)

Parameters :

axis : {‘samples’, ‘features’}

fx : callable

fxargs : tuple

uattrs : list

List of attribute names to consider. All possible combinations of unique elements of these attributes are used to determine the sample groups to operate on.

attrfx : callable

Functor that is called with each sample attribute elements matching the respective samples group. By default the unique value is determined. If the content of the attribute is not uniform for a samples group a unique string representation is created. If None, attributes are not altered.

enable_ca : None or list of str

Names of the conditional attributes which should be enabled in addition to the default ones

disable_ca : None or list of str

Names of the conditional attributes which should be disabled

attrfx
axis
fx
fxargs
is_trained

Indicate that this mapper is always trained.

uattrs

NeuroDebian

NITRC-listed