mvpa2.featsel.helpers.TailSelector

Inheritance diagram of TailSelector
class mvpa2.featsel.helpers.TailSelector(tail='lower', sort=True, **kwargs)

Select elements from a tail of a distribution.

The default behaviour is to discard the lower tail of a given distribution.

Notes

Available conditional attributes:

  • ndiscarded+: Store number of discarded elements.

(Conditional attributes enabled by default suffixed with +)

Attributes

descr Description of the object if any
mode

Methods

__call__(seq)
Parameters:
reset()

Initialize TailSelector

Parameters:

tail : [‘lower’, ‘upper’]

Choose the tail to be processed.

sort : bool

Flag whether selected IDs will be sorted. Disable if not necessary to save some CPU cycles.

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

mode : {‘discard’, ‘select’}

Decides whether to select or to discard features.

descr : str

Description of the instance

Attributes

descr Description of the object if any
mode

Methods

__call__(seq)
Parameters:
reset()