Package mvpa :: Package measures :: Module base :: Class StaticDatasetMeasure

[hide private]
[frames] | no frames]

# Class StaticDatasetMeasure

source code

A static (assigned) sensitivity measure.

Since implementation is generic it might be per feature or per whole dataset

Nested Classes | [hide private]

Inherited from `misc.state.ClassWithCollections`: `__metaclass__`

Instance Methods | [hide private]

__init__(self, measure=None, bias=None, *args, **kwargs) Initialize. | source code

_call(self, dataset) Returns assigned sensitivity | source code

Inherited from `DatasetMeasure`: `__call__`, `__repr__`, `null_dist`, `transformer`, `untrain` Inherited from `DatasetMeasure` (private): `_postcall` Inherited from `misc.state.ClassWithCollections`: `__getattribute__`, `__new__`, `__setattr__`, `__str__`, `reset` Inherited from `object`: `__delattr__`, `__format__`, `__hash__`, `__reduce__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Class Variables | [hide private]

| bias = `property(fget= lambda self: self.__bias)`
Inherited from `DatasetMeasure`: `__doc__`, `null_prob`, `null_t`, `raw_results` Inherited from `misc.state.ClassWithCollections`: `_DEV__doc__`, `descr`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, measure=None, bias=None, *args, **kwargs)
(Constructor)

source code

Initialize.

Parameters:
  - `measure` - actual sensitivity to be returned
  - `bias` - optionally available bias
Overrides: object.__init__

### _call(self, dataset)

source code

Returns assigned sensitivity

Overrides: DatasetMeasure._call