1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #6860 from IshankGulati:svm-error-message

This commit is contained in:
Vadim Pisarevsky
2016-07-18 15:44:40 +00:00
+1 -1
View File
@@ -1442,7 +1442,7 @@ public:
//check that while cross-validation there were the samples from all the classes
if( class_ranges[class_count] <= 0 )
CV_Error( CV_StsBadArg, "While cross-validation one or more of the classes have "
"been fell out of the sample. Try to enlarge <Params::k_fold>" );
"been fell out of the sample. Try to reduce <Params::k_fold>" );
if( svmType == NU_SVC )
{