How to use SVM algorithm for classifing 50 classes ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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 ?

14th Jun 2020, 6:16 AM
Reham Abass
Reham Abass - avatar
1 Respuesta
+ 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
14th Jun 2020, 7:07 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar