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

Class CvDTreeTrainData

 object --+    
          |    
??.instance --+
              |
             CvDTreeTrainData
Known Subclasses:

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
clear(...)
clear( (CvDTreeTrainData)arg1) -> None :
 
do_responses_copy(...)
do_responses_copy( (CvDTreeTrainData)arg1) -> None :
 
free_node(...)
free_node( (CvDTreeTrainData)arg1, (object)node) -> None :
 
free_node_data(...)
free_node_data( (CvDTreeTrainData)arg1, (object)node) -> None :
 
free_train_data(...)
free_train_data( (CvDTreeTrainData)arg1) -> None :
 
get_child_buf_idx(...)
get_child_buf_idx( (CvDTreeTrainData)arg1, (object)n) -> int :
 
get_num_classes(...)
get_num_classes( (CvDTreeTrainData)arg1) -> int :
 
get_var_type(...)
get_var_type( (CvDTreeTrainData)arg1, (object)vi) -> int :
 
get_work_var_count(...)
get_work_var_count( (CvDTreeTrainData)arg1) -> int :
 
new_node(...)
new_node( (CvDTreeTrainData)arg1, (object)parent, (object)count, (object)storage_idx, (object)offset) -> object :
 
new_split_cat(...)
new_split_cat( (CvDTreeTrainData)arg1, (object)vi, (object)quality) -> CvDTreeSplit :
 
new_split_ord(...)
new_split_ord( (CvDTreeTrainData)arg1, (object)vi, (object)cmp_val, (object)split_point, (object)inversed, (object)quality) -> CvDTreeSplit :
 
read_params(...)
read_params( (CvDTreeTrainData)inst, (FileStorage)fs, (FileNode)node) -> None :
 
set_data(...)
set_data( (CvDTreeTrainData)inst, (Mat)_train_data, (object)_tflag, (Mat)_responses [, (Mat)_var_idx=Mat() [, (Mat)_sample_idx=Mat() [, (Mat)_var_type=Mat() [, (Mat)_missing_mask=Mat() [, (CvDTreeParams)_params=<pyopencv.pyopencvext.CvDTreeParams object at 0x02B81760> [, (bool)_shared=False [, (bool)_add_labels=False [, (bool)_update_data=False]]]]]]]]) -> None :
 
set_params(...)
set_params( (CvDTreeTrainData)arg1, (CvDTreeParams)params) -> bool :
 
subsample_data(...)
subsample_data( (CvDTreeTrainData)inst, (Mat)_subsample_idx) -> object :
 
write_params(...)
write_params( (CvDTreeTrainData)inst, (FileStorage)fs) -> None :

Inherited from unreachable.instance: __new__

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

Class Variables [hide private]
  __instance_size__ = 1032
Properties [hide private]
  buf
  buf_count
  buf_size
  cat_count
  cat_map
  cat_ofs
  cat_var_count
  counts
  cv_heap
  data_root
  direction
  have_labels
  have_priors
  is_buf_16u
  is_classifier
  max_c_count
  node_heap
  nv_heap
  ord_var_count
  params
  priors
  priors_mult
  responses
  responses_copy
  rng
  sample_count
  shared
  split_buf
  split_heap
  temp_storage
  tflag
  this
  train_data
  tree_storage
  var_all
  var_count
  var_idx
  var_type
  work_var_count

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 [, (CvDTreeParams)_params=<pyopencv.pyopencvext.CvDTreeParams object at 0x02B817B0> [, (bool)_shared=False [, (bool)_add_labels=False]]]]]]]) -> None :
    
    Wrapped function:
        CvDTreeTrainData
    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 [,CvDTreeParams=<pyopencv.pyopencvext.CvDTreeParams object at 0x02B817B0> [,bool=False [,bool=False]]]]]]])

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

clear(...)

 

clear( (CvDTreeTrainData)arg1) -> None :

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

clear( (CvDTreeTrainData)arg1) -> None :

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

do_responses_copy(...)

 

do_responses_copy( (CvDTreeTrainData)arg1) -> None :

    C++ signature :
        void do_responses_copy(CvDTreeTrainData {lvalue})

do_responses_copy( (CvDTreeTrainData)arg1) -> None :

    C++ signature :
        void do_responses_copy(CvDTreeTrainData_wrapper {lvalue})

free_node(...)

 

free_node( (CvDTreeTrainData)arg1, (object)node) -> None :

    C++ signature :
        void free_node(CvDTreeTrainData {lvalue},CvDTreeNode*)

free_node( (CvDTreeTrainData)arg1, (object)node) -> None :

    C++ signature :
        void free_node(CvDTreeTrainData_wrapper {lvalue},CvDTreeNode*)

free_node_data(...)

 

free_node_data( (CvDTreeTrainData)arg1, (object)node) -> None :

    C++ signature :
        void free_node_data(CvDTreeTrainData {lvalue},CvDTreeNode*)

free_node_data( (CvDTreeTrainData)arg1, (object)node) -> None :

    C++ signature :
        void free_node_data(CvDTreeTrainData_wrapper {lvalue},CvDTreeNode*)

free_train_data(...)

 

free_train_data( (CvDTreeTrainData)arg1) -> None :

    C++ signature :
        void free_train_data(CvDTreeTrainData {lvalue})

free_train_data( (CvDTreeTrainData)arg1) -> None :

    C++ signature :
        void free_train_data(CvDTreeTrainData_wrapper {lvalue})

get_child_buf_idx(...)

 

get_child_buf_idx( (CvDTreeTrainData)arg1, (object)n) -> int :

    C++ signature :
        int get_child_buf_idx(CvDTreeTrainData {lvalue},CvDTreeNode*)

get_child_buf_idx( (CvDTreeTrainData)arg1, (object)n) -> int :

    C++ signature :
        int get_child_buf_idx(CvDTreeTrainData_wrapper {lvalue},CvDTreeNode*)

get_num_classes(...)

 

get_num_classes( (CvDTreeTrainData)arg1) -> int :

    C++ signature :
        int get_num_classes(CvDTreeTrainData {lvalue})

get_var_type(...)

 

get_var_type( (CvDTreeTrainData)arg1, (object)vi) -> int :

    C++ signature :
        int get_var_type(CvDTreeTrainData {lvalue},int)

get_work_var_count(...)

 

get_work_var_count( (CvDTreeTrainData)arg1) -> int :

    C++ signature :
        int get_work_var_count(CvDTreeTrainData {lvalue})

new_node(...)

 

new_node( (CvDTreeTrainData)arg1, (object)parent, (object)count, (object)storage_idx, (object)offset) -> object :

    C++ signature :
        CvDTreeNode* new_node(CvDTreeTrainData {lvalue},CvDTreeNode*,int,int,int)

new_node( (CvDTreeTrainData)arg1, (object)parent, (object)count, (object)storage_idx, (object)offset) -> object :

    C++ signature :
        CvDTreeNode* new_node(CvDTreeTrainData_wrapper {lvalue},CvDTreeNode*,int,int,int)

new_split_cat(...)

 

new_split_cat( (CvDTreeTrainData)arg1, (object)vi, (object)quality) -> CvDTreeSplit :

    C++ signature :
        CvDTreeSplit* new_split_cat(CvDTreeTrainData {lvalue},int,float)

new_split_cat( (CvDTreeTrainData)arg1, (object)vi, (object)quality) -> CvDTreeSplit :

    C++ signature :
        CvDTreeSplit* new_split_cat(CvDTreeTrainData_wrapper {lvalue},int,float)

new_split_ord(...)

 

new_split_ord( (CvDTreeTrainData)arg1, (object)vi, (object)cmp_val, (object)split_point, (object)inversed, (object)quality) -> CvDTreeSplit :

    C++ signature :
        CvDTreeSplit* new_split_ord(CvDTreeTrainData {lvalue},int,float,int,int,float)

new_split_ord( (CvDTreeTrainData)arg1, (object)vi, (object)cmp_val, (object)split_point, (object)inversed, (object)quality) -> CvDTreeSplit :

    C++ signature :
        CvDTreeSplit* new_split_ord(CvDTreeTrainData_wrapper {lvalue},int,float,int,int,float)

read_params(...)

 

read_params( (CvDTreeTrainData)inst, (FileStorage)fs, (FileNode)node) -> None :
    
    Argument 'node':
        C/C++ type: ::CvFileNode *.
        Python type: FileNode.
    Argument 'fs':
        C/C++ type: ::CvFileStorage *.
        Python type: FileStorage.

    C++ signature :
        void read_params(CvDTreeTrainData {lvalue},cv::FileStorage {lvalue},cv::FileNode {lvalue})

set_data(...)

 

set_data( (CvDTreeTrainData)inst, (Mat)_train_data, (object)_tflag, (Mat)_responses [, (Mat)_var_idx=Mat() [, (Mat)_sample_idx=Mat() [, (Mat)_var_type=Mat() [, (Mat)_missing_mask=Mat() [, (CvDTreeParams)_params=<pyopencv.pyopencvext.CvDTreeParams object at 0x02B81760> [, (bool)_shared=False [, (bool)_add_labels=False [, (bool)_update_data=False]]]]]]]]) -> None :
    
    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 set_data(CvDTreeTrainData {lvalue},cv::Mat {lvalue},int,cv::Mat {lvalue} [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,cv::Mat=Mat() [,CvDTreeParams=<pyopencv.pyopencvext.CvDTreeParams object at 0x02B81760> [,bool=False [,bool=False [,bool=False]]]]]]]])

set_params(...)

 

set_params( (CvDTreeTrainData)arg1, (CvDTreeParams)params) -> bool :

    C++ signature :
        bool set_params(CvDTreeTrainData {lvalue},CvDTreeParams)

set_params( (CvDTreeTrainData)arg1, (CvDTreeParams)params) -> bool :

    C++ signature :
        bool set_params(CvDTreeTrainData_wrapper {lvalue},CvDTreeParams)

subsample_data(...)

 

subsample_data( (CvDTreeTrainData)inst, (Mat)_subsample_idx) -> object :
    
    Argument '_subsample_idx':
        C/C++ type: ::CvMat const *.
        Python type: Mat.

    C++ signature :
        boost::python::api::object subsample_data(CvDTreeTrainData {lvalue},cv::Mat {lvalue})

write_params(...)

 

write_params( (CvDTreeTrainData)inst, (FileStorage)fs) -> None :
    
    Argument 'fs':
        C/C++ type: ::CvFileStorage *.
        Python type: FileStorage.

    C++ signature :
        void write_params(CvDTreeTrainData,cv::FileStorage {lvalue})


Property Details [hide private]

buf

Get Method:
unreachable(...)
Set Method:
unreachable(...)

buf_count

Get Method:
unreachable(...)
Set Method:
unreachable(...)

buf_size

Get Method:
unreachable(...)
Set Method:
unreachable(...)

cat_count

Get Method:
unreachable(...)
Set Method:
unreachable(...)

cat_map

Get Method:
unreachable(...)
Set Method:
unreachable(...)

cat_ofs

Get Method:
unreachable(...)
Set Method:
unreachable(...)

cat_var_count

Get Method:
unreachable(...)
Set Method:
unreachable(...)

counts

Get Method:
unreachable(...)
Set Method:
unreachable(...)

cv_heap

Get Method:
unreachable(...)

data_root

Get Method:
unreachable(...)
Set Method:
unreachable(...)

direction

Get Method:
unreachable(...)
Set Method:
unreachable(...)

have_labels

Get Method:
unreachable(...)
Set Method:
unreachable(...)

have_priors

Get Method:
unreachable(...)
Set Method:
unreachable(...)

is_buf_16u

Get Method:
unreachable(...)
Set Method:
unreachable(...)

is_classifier

Get Method:
unreachable(...)
Set Method:
unreachable(...)

max_c_count

Get Method:
unreachable(...)
Set Method:
unreachable(...)

node_heap

Get Method:
unreachable(...)

nv_heap

Get Method:
unreachable(...)

ord_var_count

Get Method:
unreachable(...)
Set Method:
unreachable(...)

params

Get Method:
unreachable(...)
Set Method:
unreachable(...)

priors

Get Method:
unreachable(...)
Set Method:
unreachable(...)

priors_mult

Get Method:
unreachable(...)
Set Method:
unreachable(...)

responses

Get Method:
unreachable(...)
Set Method:
unreachable(...)

responses_copy

Get Method:
unreachable(...)
Set Method:
unreachable(...)

rng

Get Method:
unreachable(...)

sample_count

Get Method:
unreachable(...)
Set Method:
unreachable(...)

shared

Get Method:
unreachable(...)
Set Method:
unreachable(...)

split_buf

Get Method:
unreachable(...)
Set Method:
unreachable(...)

split_heap

Get Method:
unreachable(...)

temp_storage

Get Method:
unreachable(...)

tflag

Get Method:
unreachable(...)
Set Method:
unreachable(...)

this

Get Method:
unreachable(...)

train_data

Get Method:
unreachable(...)
Set Method:
unreachable(...)

tree_storage

Get Method:
unreachable(...)

var_all

Get Method:
unreachable(...)
Set Method:
unreachable(...)

var_count

Get Method:
unreachable(...)
Set Method:
unreachable(...)

var_idx

Get Method:
unreachable(...)
Set Method:
unreachable(...)

var_type

Get Method:
unreachable(...)
Set Method:
unreachable(...)

work_var_count

Get Method:
unreachable(...)
Set Method:
unreachable(...)