Package pycv :: Package cs :: Package ml :: Package cla :: Package boost :: Module cascade :: Class SimpleCascade
[hide private]
[frames] | no frames]

Class SimpleCascade

source code

ml.Predictor --+        
               |        
  cla.Classifier --+    
                   |    
cla.BinaryClassifier --+
                       |
                      SimpleCascade

A cascade of binary classifiers. The cascade predicts true iff all binary classifiers predict true.

Nested Classes [hide private]

Inherited from ml.Predictor: EarlyPrediction

Instance Methods [hide private]
 
__init__(self, *binary_classifiers) source code
 
add_binary_classifier(self, binary_classifier) source code
 
predict(self, input_point, *args, **kwds)
Predict the output class of an input point.
source code

Inherited from cla.Classifier: get_error_rates, test

Method Details [hide private]

__init__(self, *binary_classifiers)
(Constructor)

source code 
Overrides: cla.BinaryClassifier.__init__

predict(self, input_point, *args, **kwds)

source code 
Predict the output class of an input point.
Overrides: cla.Classifier.predict
(inherited documentation)