Package pyvision :: Package ml :: Module opencv_ml :: Class StatsModelWrapper
[hide private]
[frames] | no frames]

Class StatsModelWrapper

source code

object --+
         |
        StatsModelWrapper

This class wraps an opencv stats model to support pickling and other pythonic features, etc.

Instance Methods [hide private]
 
__init__(self, model)
Init the wrapper with the model.
source code
 
predict(self, *args, **kwarg)
Wrapper for the predict function.
source code
 
predict_prob(self, *args, **kwarg)
Wrapper for the predict function.
source code
 
predict_all(self, *args, **kwarg)
Wrapper for the predict function.
source code
 
__getstate__(self)
Save the state for pickling
source code
 
__setstate__(self, state)
Load the state for pickling.
source code
 
save(self, *args, **kwargs) 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, model)
(Constructor)

source code 

Init the wrapper with the model.

Overrides: object.__init__