Package mvpa :: Package clfs :: Module transerror :: Class ROCCurve
[hide private]
[frames] | no frames]

Class ROCCurve

source code


Generic class for ROC curve computation and plotting
Instance Methods [hide private]
 
__init__(self, labels, sets=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_compute(self)
Lazy computation if needed
source code
 
aucs(self)
Compute and return set of AUC values 1 per label
source code
 
ROCs(self) source code
 
plot(self, label_index=0)
should we also treat labels_map?
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, labels, sets=None)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Parameters:
  • labels (list) - labels which were used (in order of values if multiclass, or 1 per class for binary problems (e.g. in SMLR))
  • sets (list of tuples) - list of sets for the analysis
Overrides: object.__init__

aucs(self)

source code 
Compute and return set of AUC values 1 per label
Decorators:
  • @property

ROCs(self)

source code 
Decorators:
  • @property