Package pyopencv :: Module pyopencvext :: Class CvBoost
[hide private]
[frames] | no frames]

Class CvBoost

 object --+        
          |        
??.instance --+    
              |    
    CvStatModel --+
                  |
                 CvBoost

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1) -> None :
 
clear(...)
clear( (CvBoost)arg1) -> None :
 
get_active_vars(...)
get_active_vars( (CvBoost)arg1 [, (bool)absolute_idx=True]) -> CvMat :
 
get_data(...)
get_data( (CvBoost)arg1) -> CvDTreeTrainData :
 
get_params(...)
get_params( (CvBoost)arg1) -> CvBoostParams :
 
get_subtree_weights(...)
get_subtree_weights( (CvBoost)arg1) -> CvMat :
 
get_weak_predictors(...)
get_weak_predictors( (CvBoost)arg1) -> CvSeq :
 
get_weak_response(...)
get_weak_response( (CvBoost)arg1) -> CvMat :
 
get_weights(...)
get_weights( (CvBoost)arg1) -> CvMat :
 
load(...)
load( (CvBoost)arg1, (str)filename [, (str)name=None]) -> None :
 
predict(...)
predict( (CvBoost)inst, (Mat)_sample, (Mat)_missing, (Range)slice [, (bool)raw_mode=False [, (bool)return_sum=False]]) -> tuple :
 
prune(...)
prune( (CvBoost)inst, (Range)slice) -> None :
 
read(...)
read( (CvBoost)inst, (FileStorage)storage, (FileNode)node) -> None :
 
save(...)
save( (CvBoost)arg1, (str)filename [, (str)name=None]) -> None :
 
train(...)
train( (CvBoost)inst, (Mat)_train_data, (object)_tflag, (Mat)_responses [, (Mat)_var_idx=Mat() [, (Mat)_sample_idx=Mat() [, (Mat)_var_type=Mat() [, (Mat)_missing_mask=Mat() [, (CvBoostParams)params=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74B90> [, (bool)update=False]]]]]]) -> object :
 
write(...)
write( (CvBoost)inst, (FileStorage)storage, (str)name) -> None :

Inherited from CvStatModel: __reduce__

Inherited from unreachable.instance: __new__

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

Class Variables [hide private]
  DEFAULT = 0
  DISCRETE = 0
  GENTLE = 3
  GINI = 1
  LOGIT = 2
  MISCLASS = 3
  REAL = 1
  SQERR = 4
  __instance_size__ = 120
Properties [hide private]
  this

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (CvMat)_train_data, (object)_tflag, (CvMat)_responses [, (CvMat)_var_idx=None [, (CvMat)_sample_idx=None [, (CvMat)_var_type=None [, (CvMat)_missing_mask=None [, (CvBoostParams)params=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74AC0>]]]]]) -> None :
    
    Wrapped function:
        CvBoost
    Argument '_missing_mask':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_var_idx':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_var_type':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_sample_idx':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_responses':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_train_data':
        C/C++ type: ::CvMat const *.
        Python type: Mat.

    C++ signature :
        void __init__(_object*,CvMat const*,int,CvMat const* [,CvMat const*=None [,CvMat const*=None [,CvMat const*=None [,CvMat const*=None [,CvBoostParams=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74AC0>]]]]])

__init__( (object)arg1, (Mat)_train_data, (object)_tflag, (Mat)_responses [, (Mat)_var_idx=Mat() [, (Mat)_sample_idx=Mat() [, (Mat)_var_type=Mat() [, (Mat)_missing_mask=Mat() [, (CvBoostParams)params=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74B28>]]]]]) -> None :

    C++ signature :
        void __init__(_object*,cv::Mat,int,cv::Mat [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,CvBoostParams=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74B28>]]]]])

Overrides: object.__init__

clear(...)

 

clear( (CvBoost)arg1) -> None :

    C++ signature :
        void clear(CvBoost {lvalue})

clear( (CvBoost)arg1) -> None :

    C++ signature :
        void clear(CvBoost_wrapper {lvalue})

Overrides: CvStatModel.clear

get_active_vars(...)

 

get_active_vars( (CvBoost)arg1 [, (bool)absolute_idx=True]) -> CvMat :

    C++ signature :
        CvMat const* get_active_vars(CvBoost {lvalue} [,bool=True])

get_active_vars( (CvBoost)arg1 [, (bool)absolute_idx=True]) -> CvMat :

    C++ signature :
        CvMat const* get_active_vars(CvBoost_wrapper {lvalue} [,bool=True])

get_data(...)

 

get_data( (CvBoost)arg1) -> CvDTreeTrainData :

    C++ signature :
        CvDTreeTrainData const* get_data(CvBoost {lvalue})

get_params(...)

 

get_params( (CvBoost)arg1) -> CvBoostParams :

    C++ signature :
        CvBoostParams get_params(CvBoost {lvalue})

get_subtree_weights(...)

 

get_subtree_weights( (CvBoost)arg1) -> CvMat :

    C++ signature :
        CvMat* get_subtree_weights(CvBoost {lvalue})

get_weak_predictors(...)

 

get_weak_predictors( (CvBoost)arg1) -> CvSeq :

    C++ signature :
        CvSeq* get_weak_predictors(CvBoost {lvalue})

get_weak_response(...)

 

get_weak_response( (CvBoost)arg1) -> CvMat :

    C++ signature :
        CvMat* get_weak_response(CvBoost {lvalue})

get_weights(...)

 

get_weights( (CvBoost)arg1) -> CvMat :

    C++ signature :
        CvMat* get_weights(CvBoost {lvalue})

load(...)

 

load( (CvBoost)arg1, (str)filename [, (str)name=None]) -> None :

    C++ signature :
        void load(CvBoost {lvalue},char const* [,char const*=None])

load( (CvBoost)arg1, (str)filename [, (str)name=None]) -> None :

    C++ signature :
        void load(CvBoost_wrapper {lvalue},char const* [,char const*=None])

Overrides: CvStatModel.load

predict(...)

 

predict( (CvBoost)inst, (Mat)_sample, (Mat)_missing, (Range)slice [, (bool)raw_mode=False [, (bool)return_sum=False]]) -> tuple :
    
    Argument 'slice':
        C/C++ type: ::CvSlice.
        Python type: Range.
    Argument '_sample':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument 'weak_responses':
        C/C++ type: ::CvMat *.
        Python type: Python equivalence of the C/C++ type without pointer.
        Output argument: omitted from the function's calling sequence, and is 
        returned along with the function's return value (if any).
    Argument '_missing':
        C/C++ type: ::CvMat const *.
        Python type: Mat.

    C++ signature :
        boost::python::tuple predict(CvBoost,cv::Mat {lvalue},cv::Mat {lvalue},cv::Range [,bool=False [,bool=False]])

predict( (CvBoost)inst, (Mat)_sample, (Mat)_missing, (Range)slice [, (bool)raw_mode=False [, (bool)return_sum=False]]) -> tuple :
    
    Argument 'weak_responses':
        C/C++ type: ::cv::Mat *.
        Python type: Python equivalence of the C/C++ type without pointer.
        Output argument: omitted from the function's calling sequence, and is 
        returned along with the function's return value (if any).
    Argument 'slice':
        C/C++ type: ::CvSlice.
        Python type: Range.

    C++ signature :
        boost::python::tuple predict(CvBoost,cv::Mat,cv::Mat,cv::Range [,bool=False [,bool=False]])

prune(...)

 

prune( (CvBoost)inst, (Range)slice) -> None :
    
    Argument 'slice':
        C/C++ type: ::CvSlice.
        Python type: Range.

    C++ signature :
        void prune(CvBoost {lvalue},cv::Range)

read(...)

 

read( (CvBoost)inst, (FileStorage)storage, (FileNode)node) -> None :
    
    Argument 'node':
        C/C++ type: ::CvFileNode *.
        Python type: FileNode.
    Argument 'storage':
        C/C++ type: ::CvFileStorage *.
        Python type: FileStorage.

    C++ signature :
        void read(CvBoost {lvalue},cv::FileStorage {lvalue},cv::FileNode {lvalue})

Overrides: CvStatModel.read

save(...)

 

save( (CvBoost)arg1, (str)filename [, (str)name=None]) -> None :

    C++ signature :
        void save(CvBoost {lvalue},char const* [,char const*=None])

save( (CvBoost)arg1, (str)filename [, (str)name=None]) -> None :

    C++ signature :
        void save(CvBoost_wrapper {lvalue},char const* [,char const*=None])

Overrides: CvStatModel.save

train(...)

 

train( (CvBoost)inst, (Mat)_train_data, (object)_tflag, (Mat)_responses [, (Mat)_var_idx=Mat() [, (Mat)_sample_idx=Mat() [, (Mat)_var_type=Mat() [, (Mat)_missing_mask=Mat() [, (CvBoostParams)params=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74B90> [, (bool)update=False]]]]]]) -> object :
    
    Argument '_missing_mask':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_var_idx':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_var_type':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_sample_idx':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_responses':
        C/C++ type: ::CvMat const *.
        Python type: Mat.
    Argument '_train_data':
        C/C++ type: ::CvMat const *.
        Python type: Mat.

    C++ signature :
        boost::python::api::object train(CvBoost {lvalue},cv::Mat {lvalue},int,cv::Mat {lvalue} [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,CvBoostParams=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74B90> [,bool=False]]]]]])

train( (CvBoost)arg1, (CvMLData)data [, (CvBoostParams)params=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74BF8> [, (bool)update=False]]) -> bool :

    C++ signature :
        bool train(CvBoost {lvalue},CvMLData* [,CvBoostParams=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74BF8> [,bool=False]])

train( (CvBoost)arg1, (CvMLData)data [, (CvBoostParams)params=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74BF8> [, (bool)update=False]]) -> bool :

    C++ signature :
        bool train(CvBoost_wrapper {lvalue},CvMLData* [,CvBoostParams=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74BF8> [,bool=False]])

train( (CvBoost)arg1, (Mat)_train_data, (object)_tflag, (Mat)_responses [, (Mat)_var_idx=Mat() [, (Mat)_sample_idx=Mat() [, (Mat)_var_type=Mat() [, (Mat)_missing_mask=Mat() [, (CvBoostParams)params=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74C60> [, (bool)update=False]]]]]]) -> bool :

    C++ signature :
        bool train(CvBoost {lvalue},cv::Mat,int,cv::Mat [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,CvBoostParams=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74C60> [,bool=False]]]]]])

train( (CvBoost)arg1, (Mat)_train_data, (object)_tflag, (Mat)_responses [, (Mat)_var_idx=Mat() [, (Mat)_sample_idx=Mat() [, (Mat)_var_type=Mat() [, (Mat)_missing_mask=Mat() [, (CvBoostParams)params=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74C60> [, (bool)update=False]]]]]]) -> bool :

    C++ signature :
        bool train(CvBoost_wrapper {lvalue},cv::Mat,int,cv::Mat [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,CvBoostParams=<pyopencv.pyopencvext.CvBoostParams object at 0x02B74C60> [,bool=False]]]]]])

write(...)

 

write( (CvBoost)inst, (FileStorage)storage, (str)name) -> None :
    
    Argument 'storage':
        C/C++ type: ::CvFileStorage *.
        Python type: FileStorage.

    C++ signature :
        void write(CvBoost,cv::FileStorage {lvalue},char const*)

Overrides: CvStatModel.write

Property Details [hide private]

this

Get Method:
unreachable(...)