opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

cv::ml::StatModel::Algorithm::predict() is ambiguous with linear SVM

Open ghost opened this issue 9 years ago • 1 comments

This method is ambiguous because its implementation always uses RBF Kernel to check for which class a sample belongs. Therefore authorizing this method to predict samples with Linear SVM Classifier doesn't seem to me right.

ghost avatar Jan 21 '16 18:01 ghost

hi, @djebm2 , could you please provide a simple piece of code or example so that I can take a look at this issue?

hustc12 avatar Apr 29 '16 11:04 hustc12