Example for multi class classification using One vs All method with SVM

3 次查看(过去 30 天)
I need to classify data into 4 classes. I intend to use the One vs All method with SVM to do so. I have a TrainingData matrix (Dimension: (400x4), 400 records, each having 4 features) and a Label matrix (Dimension: (400x1), having values {1,2,3,4}).
I would be highly appreciate it, if someone could post the rough schematics of MATLAB code (how to call the 'svmtrain' functions) in order to achieve this.
Thanks in advance.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by