mvpa2.algorithms.group_clusterthr.mean_sample

mvpa2.algorithms.group_clusterthr.mean_sample(attrfx='merge')

Returns a mapper that computes the mean sample of a dataset.

Parameters:

attrfx : ‘merge’ or callable, optional

Callable that is used to determine the sample attributes of the computed mean samples. By default this will be a string representation of all unique value of a particular attribute in any sample group. If there is only a single value in a group it will be used as the new attribute value.

Returns:

FxMapper instance.