Lines Matching refs:tree_count
2651 int ti, j, tree_count = 0, cv_n = data->params.cv_folds, n = root->sample_count; in prune_cv() local
2661 for(;;tree_count++) in prune_cv()
2663 double min_alpha = update_tree_rnc(tree_count, -1); in prune_cv()
2664 if( cut_tree(tree_count, -1, min_alpha) ) in prune_cv()
2667 if( ab->cols <= tree_count ) in prune_cv()
2677 ab->data.db[tree_count] = min_alpha; in prune_cv()
2682 if( tree_count > 0 ) in prune_cv()
2684 for( ti = 1; ti < tree_count-1; ti++ ) in prune_cv()
2686 ab->data.db[tree_count-1] = DBL_MAX*0.5; in prune_cv()
2688 CV_CALL( err_jk = cvCreateMat( cv_n, tree_count, CV_64F )); in prune_cv()
2694 for( ; tk < tree_count; tj++ ) in prune_cv()
2700 for( ; tk < tree_count; tk++ ) in prune_cv()
2704 err[j*tree_count + tk] = root->tree_error; in prune_cv()
2709 for( ti = 0; ti < tree_count; ti++ ) in prune_cv()
2713 sum_err += err[j*tree_count + ti]; in prune_cv()