How to implement multi class SVM in Matlab? Especially when it comes to creating a training matrix set of image dataset and then testing matrix set of images and group sets etc.
Now, matlab offers a function named fitcecoc() which is designed specially for multiclass SVM by error correction method. You can apply it. for details please go to the following link: https://www.mathworks.com/help/stats/fitcecoc.html
in this page https://www.mathworks.com/help/stats/fitcecoc.html
The explication of this function is :
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.
Someone explain to me how to use this function to obtain multiclass SVM graph?