Linear kernel only one that does not return poor classification
After trying different SVM kernels in OpenCV, I realised that whenever I switched from a linear kernel to another, the classifier would stop functioning properly and classify all data as the same label. I currently have six different labels and am trying to classify features from three dimensional arrays. Is there anything I'm missing? Thank you in advance!
@LeBorzi please remove all others posts
Sorry, I did not realise it posted this many times...
If data are easy to classify then switched method will give same results. When method is switched you train model then you can save model using FileStorage and compare models
How come that it seems like switching kernels seems to break the classifier though? Surely, switching from linear to another kernel doesn't explain why the classifier starts to make the same label prediction every time. Keep in mind that I am redoing training from scratch with the new kernel, so I am not training the SVM with a linear kernel, then switching to another.