Package TEES :: Package Evaluators :: Module BinaryEvaluator :: Class BinaryEvaluator
[hide private]

Class BinaryEvaluator

source code

Evaluator.Evaluator --+
                      |
                     BinaryEvaluator

Instance Methods [hide private]
 
__init__(self, examples=None, predictions=None, classSet=None) source code
 
compare(self, evaluation)
Compare overall performance between two sets of classified examples.
source code
 
__calculateAUC(self, examples, predictions) source code
 
_calculate(self, examples, predictions) source code
 
toStringConcise(self, indent='', title=None) source code
 
toDict(self) source code

Inherited from Evaluator.Evaluator: getData, saveCSV

Class Methods [hide private]
 
evaluate(cls, examples, predictions, classSet=None, outputFile=None)
Enables using this class without having to manually instantiate it
source code
Static Methods [hide private]
 
average(evaluators)
Return the average of the main evaluation criteria for this Evaluator type.
source code
 
pool(evaluators)
Return the average of the main evaluation criteria for this Evaluator type calculated by pooling all individual classifications.
source code
Method Details [hide private]

compare(self, evaluation)

source code 

Compare overall performance between two sets of classified examples.

Overrides: Evaluator.Evaluator.compare
(inherited documentation)

average(evaluators)
Static Method

source code 

Return the average of the main evaluation criteria for this Evaluator type.

Overrides: Evaluator.Evaluator.average
(inherited documentation)

pool(evaluators)
Static Method

source code 

Return the average of the main evaluation criteria for this Evaluator type calculated by pooling all individual classifications.

Overrides: Evaluator.Evaluator.pool
(inherited documentation)

_calculate(self, examples, predictions)

source code 
Overrides: Evaluator.Evaluator._calculate

toStringConcise(self, indent='', title=None)

source code 
Overrides: Evaluator.Evaluator.toStringConcise

toDict(self)

source code 
Overrides: Evaluator.Evaluator.toDict