hello all, i am a begginer in matlab , pls help me to do multilabel classification or multiclass svm ?

3 visualizaciones (últimos 30 días)
svm multiclass classification

Respuestas (1)

Drew
Drew el 22 de Ag. de 2023
For binary SVM classification, use fitcsvm https://www.mathworks.com/help/stats/fitcsvm.html .
If you have more than 2 classes, use https://www.mathworks.com/help/stats/fitcecoc.html to train multiple SVM classifiers: "Mdl = fitcecoc(Tbl,ResponseVarName) returns a full, trained, multiclass, error-correcting output codes (ECOC) model using the predictors in table Tbl and the class labels in Tbl.ResponseVarName. fitcecoc uses K(K – 1)/2 binary support vector machine (SVM) models using the one-versus-one coding design, where K is the number of unique class labels (levels). Mdl is a ClassificationECOC model." There are many options in fitcecoc to control things like the coding design, the details of the binary learners, etc.

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by