This commit is contained in:
Maria Dimashova 2012-07-01 20:59:29 +00:00
parent 8f5b15b1c3
commit d56b771963

View File

@ -1896,7 +1896,7 @@ void CvBoost::write_params( CvFileStorage* fs ) const
else
cvWriteInt( fs, "splitting_criteria", params.split_criteria );
cvWriteInt( fs, "ntrees", params.weak_count );
cvWriteInt( fs, "ntrees", weak->total );
cvWriteReal( fs, "weight_trimming_rate", params.weight_trim_rate );
data->write_params( fs );