Home | History | Annotate | Download | only in src

Lines Matching refs:tree

137     // traverse the tree and scale all the node values
740 // in case of regression tree:
948 CvBoostTree* tree = new CvBoostTree;
949 if( !tree->train( data, subsample_mask, this ) )
951 delete tree;
955 cvSeqPush( weak, &tree );
956 update_weights( tree );
970 CvBoost::update_weights( CvBoostTree* tree )
979 if( !tree ) // before training the first tree, initialize weights and other parameters
982 // in case of logitboost and gentle adaboost each weak tree is a regression tree,
1022 // set the labels to find (from within weak tree learning proc)
1037 // in case of logitboost each weak tree is a regression tree.
1067 // run tree through all the non-processed samples
1075 weak_eval->data.db[i] = tree->predict( &_sample, &_mask, true )->value;
1112 tree->scale( C );
1285 CV_ERROR( CV_StsError, "The boosted tree ensemble has not been trained yet" );
1577 CvBoostTree* tree = new CvBoostTree();
1578 CV_CALL(tree->read( fs, (CvFileNode*)reader.ptr, this, data ));
1580 cvSeqPush( weak, &tree );
1609 CvBoostTree* tree;
1610 CV_READ_SEQ_ELEM( tree, reader );
1612 tree->write( fs );