fixed CvBoost

This commit is contained in:
Maria Dimashova 2011-04-30 17:39:24 +00:00
parent 428aef522b
commit 481d0b2c56

View File

@ -1072,6 +1072,8 @@ CvBoost::train( const CvMat* _train_data, int _tflag,
cvSeqPush( weak, &tree );
update_weights( tree );
trim_weights();
if( cvCountNonZero(subsample_mask) == 0 )
break;
}
get_active_vars(); // recompute active_vars* maps and condensed_idx's in the splits.