fixing wrong equation in accuracy break rule
This commit is contained in:
parent
7e35f76d06
commit
796c15d3e6
@ -218,7 +218,7 @@ bool CvCascadeClassifier::train( const string _cascadeDirName,
|
|||||||
"Branch training terminated." << endl;
|
"Branch training terminated." << endl;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if( (tempLeafFARate <= acceptanceRatioBreakValue) && (acceptanceRatioBreakValue < 0) ){
|
if( (tempLeafFARate <= acceptanceRatioBreakValue) && (acceptanceRatioBreakValue >= 0) ){
|
||||||
cout << "The required acceptanceRatio for the model has been reached to avoid overfitting of trainingdata. "
|
cout << "The required acceptanceRatio for the model has been reached to avoid overfitting of trainingdata. "
|
||||||
"Branch training terminated." << endl;
|
"Branch training terminated." << endl;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user