Package mvpa :: Package measures :: Module base :: Class Sensitivity
[hide private]
[frames] | no frames]

Class Sensitivity

source code


Nested Classes [hide private]

Inherited from misc.state.Stateful: __metaclass__

Instance Methods [hide private]
 
__init__(self, clf, force_training=True, **kwargs)
Initialize the analyzer with the classifier it shall use.
source code
 
__repr__(self)
repr(x)
source code
 
__call__(self, dataset)
Train classifier on dataset and then compute actual sensitivity.
source code
 
_setClassifier(self, clf) source code

Inherited from FeaturewiseDatasetMeasure (private): _call, _postcall

Inherited from DatasetMeasure: __str__

Inherited from misc.state.Stateful: __getattribute__, __setattr__, reset

Inherited from object: __delattr__, __hash__, __new__, __reduce__, __reduce_ex__

Class Variables [hide private]
  _collections_template = {'states': <mvpa.misc.state.StateColle...

Inherited from FeaturewiseDatasetMeasure: base_sensitivities

Inherited from DatasetMeasure: __doc__, null_prob, raw_result

Inherited from misc.state.Stateful (private): _initargs

Instance Variables [hide private]
  __clf
Classifier used to computed sensitivity
  _force_training
Either to force it to train
Properties [hide private]
  clf

Inherited from misc.state.Stateful: descr

Inherited from object: __class__

Method Details [hide private]

__init__(self, clf, force_training=True, **kwargs)
(Constructor)

source code 
Initialize the analyzer with the classifier it shall use.
Parameters:
  • clf (Classifier) - classifier to use. Only classifiers sub-classed from LinearSVM may be used.
  • force_training (Bool) - if classifier was already trained -- do not retrain
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)

__call__(self, dataset)
(Call operator)

source code 
Train classifier on dataset and then compute actual sensitivity.
Overrides: DatasetMeasure.__call__

Class Variable Details [hide private]

_collections_template

Value:
{'states': <mvpa.misc.state.StateCollection object at 0x874b7cc>}

Property Details [hide private]

clf

Get Method:
unreachable(self)
Set Method:
_setClassifier(self, clf)