Package mvpa :: Package clfs :: Module smlr :: Class SMLRWeights
[hide private]
[frames] | no frames]

Class SMLRWeights

source code


SensitivityAnalyzer that reports the weights SMLR trained on a given Dataset.
Nested Classes [hide private]

Inherited from misc.state.Stateful: __metaclass__

Instance Methods [hide private]
 
__init__(self, clf, **kwargs)
Initialize the analyzer with the classifier it shall use.
source code
 
_call(self, dataset)
Extract weights from Linear SVM classifier.
source code

Inherited from measures.base.Sensitivity: __call__, __repr__

Inherited from measures.base.Sensitivity (private): _setClassifier

Inherited from measures.base.DatasetMeasure: __str__

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

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

Class Variables [hide private]
  biases = StateVariable(enabled= True, doc= "A 1-d ndarray of b...

Inherited from measures.base.FeaturewiseDatasetMeasure: base_sensitivities

Inherited from measures.base.DatasetMeasure: __doc__, null_prob, raw_result

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

Instance Variables [hide private]

Inherited from measures.base.Sensitivity (private): _force_training

Properties [hide private]

Inherited from measures.base.Sensitivity: clf

Inherited from misc.state.Stateful: descr

Inherited from object: __class__

Method Details [hide private]

__init__(self, clf, **kwargs)
(Constructor)

source code 
Initialize the analyzer with the classifier it shall use.
Parameters:
  • clf, SMLR - classifier to use. Only classifiers sub-classed from SMLR may be used.
Overrides: object.__init__

_call(self, dataset)

source code 
Extract weights from Linear SVM classifier.
Overrides: measures.base.DatasetMeasure._call

Class Variable Details [hide private]

biases

Value:
StateVariable(enabled= True, doc= "A 1-d ndarray of biases")