Commit b28194ad authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

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

parents 77f9bb7b 9636b5e8
...@@ -1442,7 +1442,7 @@ public: ...@@ -1442,7 +1442,7 @@ public:
//check that while cross-validation there were the samples from all the classes //check that while cross-validation there were the samples from all the classes
if( class_ranges[class_count] <= 0 ) if( class_ranges[class_count] <= 0 )
CV_Error( CV_StsBadArg, "While cross-validation one or more of the classes have " 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 ) if( svmType == NU_SVC )
{ {
......
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