Commit 481d0b2c authored by Maria Dimashova's avatar Maria Dimashova

fixed CvBoost

parent 428aef52
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment