+ 2
How to use SVM algorithm for classifing 50 classes ?
I tried to classify using loop, each loop classify for two groups (class i , not class i ), but maybe is there any better idea ?
1 Réponse
+ 1
SVMs are inherently binary classification algorithms. You can apply them for multiclass, too, but the effects will most likely not be satisfying for that many classes.
Still, you can try it. It will then use the one-vs-all (or one-vs-rest) approach to determine the proper class.
Check out the documentation for scikit learn SVM, multiclass:
https://scikit-learn.org/stable/modules/svm.html