Package pycv :: Package cs :: Package ml :: Package cla :: Module cla
[hide private]
[frames] | no frames]

Module cla

source code

Classes [hide private]
  CDataset
  Classifier
  BinaryClassifier
  BinaryErrorStats
Error statistics for binary classification.
Functions [hide private]
 
evaluate(bc, wcd, *args, **kwds)
Evaluate a BinaryClassifier using a WeightedCDataset.
source code
Function Details [hide private]

evaluate(bc, wcd, *args, **kwds)

source code 
Evaluate a BinaryClassifier using a WeightedCDataset.
Returns:
brs : BinaryErrorStats

statistics of the error rates

Parameters:

bc : BinaryClassifier

a binary claassifier to evaluate

wcd : a WeightedCDataset is used as the test set