Filter löschen
Filter löschen

A simple SVM example

3 Ansichten (letzte 30 Tage)
Greg Athanasiadis
Greg Athanasiadis am 4 Dez. 2016
Hi everyone Can anyone help me to understand the code of one simple linear SVM with binary classification? How i use LibSVM?
  5 Kommentare
Walter Roberson
Walter Roberson am 4 Dez. 2016
Bearbeitet: Walter Roberson am 4 Dez. 2016
libsvm will not help in that case, as libsvm is not written in MATLAB.
Perhaps there is code in the File Exchange
mizuki
mizuki am 4 Dez. 2016
If you want to know steps to run SVM on MATLAB, use fitcsvm (binary classification) or fitcecoc (multiclass classification).

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Walter Roberson
Walter Roberson am 5 Dez. 2016

hendra kurnia febriawan
hendra kurnia febriawan am 3 Okt. 2018
Hi all;
I read Hsu et al. (2003) 'A Practical Guide to Support Vector Classification' and they proposed procedures in SVM. One of them is conduct simple scaling on the data before applying SVM. The purpose is to avoid attributes in greater numeric ranges dominating those in smaller numeric ranges. I have a question, do the implementation of SVM in Matlab using fitcsvm and fitcecoc already contain scaling for the dataset (ex:for image classification) or we need to do that before running the fitcecoc function? Thank you in advance.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by