Lines Matching refs:CvDTreeNode
671 struct CvDTreeNode
677 CvDTreeNode* parent;
678 CvDTreeNode* left;
679 CvDTreeNode* right;
759 virtual CvDTreeNode* subsample_data( const CvMat* _subsample_idx );
771 virtual int* get_class_labels( CvDTreeNode* n );
772 virtual float* get_ord_responses( CvDTreeNode* n );
773 virtual int* get_labels( CvDTreeNode* n );
774 virtual int* get_cat_var_data( CvDTreeNode* n, int vi );
775 virtual CvPair32s32f* get_ord_var_data( CvDTreeNode* n, int vi );
776 virtual int get_child_buf_idx( CvDTreeNode* n );
781 virtual CvDTreeNode* new_node( CvDTreeNode* parent, int count,
787 virtual void free_node_data( CvDTreeNode* node );
789 virtual void free_node( CvDTreeNode* node );
820 CvDTreeNode* data_root;
845 virtual CvDTreeNode* predict( const CvMat* _sample, const CvMat* _missing_data_mask=0,
858 const CvDTreeNode* get_root() const;
866 virtual void try_split_node( CvDTreeNode* n );
867 virtual void split_node_data( CvDTreeNode* n );
868 virtual CvDTreeSplit* find_best_split( CvDTreeNode* n );
869 virtual CvDTreeSplit* find_split_ord_class( CvDTreeNode* n, int vi );
870 virtual CvDTreeSplit* find_split_cat_class( CvDTreeNode* n, int vi );
871 virtual CvDTreeSplit* find_split_ord_reg( CvDTreeNode* n, int vi );
872 virtual CvDTreeSplit* find_split_cat_reg( CvDTreeNode* n, int vi );
873 virtual CvDTreeSplit* find_surrogate_split_ord( CvDTreeNode* n, int vi );
874 virtual CvDTreeSplit* find_surrogate_split_cat( CvDTreeNode* n, int vi );
875 virtual double calc_node_dir( CvDTreeNode* node );
876 virtual void complete_node_dir( CvDTreeNode* node );
880 virtual void calc_node_value( CvDTreeNode* node );
888 virtual void write_node( CvFileStorage* fs, CvDTreeNode* node );
890 virtual CvDTreeNode* read_node( CvFileStorage* fs, CvFileNode* node, CvDTreeNode* parent );
895 CvDTreeNode* root;
935 virtual CvDTreeSplit* find_best_split( CvDTreeNode* n );
1062 virtual void try_split_node( CvDTreeNode* n );
1063 virtual CvDTreeSplit* find_surrogate_split_ord( CvDTreeNode* n, int vi );
1064 virtual CvDTreeSplit* find_surrogate_split_cat( CvDTreeNode* n, int vi );
1065 virtual CvDTreeSplit* find_split_ord_class( CvDTreeNode* n, int vi );
1066 virtual CvDTreeSplit* find_split_cat_class( CvDTreeNode* n, int vi );
1067 virtual CvDTreeSplit* find_split_ord_reg( CvDTreeNode* n, int vi );
1068 virtual CvDTreeSplit* find_split_cat_reg( CvDTreeNode* n, int vi );
1069 virtual void calc_node_value( CvDTreeNode* n );
1070 virtual double calc_node_dir( CvDTreeNode* n );