opencv_contrib
opencv_contrib copied to clipboard
cv::ml::StatModel::Algorithm::predict() is ambiguous with linear SVM
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.
hi, @djebm2 , could you please provide a simple piece of code or example so that I can take a look at this issue?