This content refers to the previous stable release of PyMVPA.
Please visit
www.pymvpa.org for the most
recent version of PyMVPA and its documentation.
measures.corrstability
Module: measures.corrstability
Inheritance diagram for mvpa.measures.corrstability:
FeaturewiseDatasetMeasure of stability of labels across chunks based
on correlation.
-
class mvpa.measures.corrstability.CorrStability(attr='labels', **kwargs)
Bases: mvpa.measures.base.FeaturewiseDatasetMeasure
FeaturewiseDatasetMeasure that assesses feature stability
across runs for each unique label by correlating label activity
for pairwise combinations of the chunks.
If there are multiple samples with the same label in a single
chunk (as is typically the case) this algorithm will take the
featurewise average of the sample activations to get a single
value per label, per chunk.
Note
Available state variables:
- base_sensitivities: Stores basic sensitivities if the sensitivity relies on combining multiple ones
- null_prob+: State variable
- null_t: State variable
- raw_results: Computed results before applying any transformation algorithm
(States enabled by default are listed with +)
Initialize
Parameters: |
- attr (basestring) – Attribute to correlate across chunks.
- enable_states (None or list of basestring) – Names of the state variables which should be enabled additionally
to default ones
- disable_states (None or list of basestring) – Names of the state variables which should be disabled
- combiner (Functor) – The combiner is only applied if the computed featurewise dataset
measure is more than one-dimensional. This is different from a
transformer, which is always applied. By default, the sum of
absolute values along the second axis is computed.
- transformer (Functor) – This functor is called in __call__() to perform a final
processing step on the to be returned dataset measure. If None,
nothing is called
- null_dist (instance of distribution estimator) – The estimated distribution is used to assign a probability for a
certain value of the computed measure.
|