A simple SVM example

9 次查看(过去 30 天)
Greg Athanasiadis
Greg Athanasiadis 2016-12-4
Hi everyone Can anyone help me to understand the code of one simple linear SVM with binary classification? How i use LibSVM?
  5 个评论
Walter Roberson
Walter Roberson 2016-12-4
编辑:Walter Roberson 2016-12-4
libsvm will not help in that case, as libsvm is not written in MATLAB.
Perhaps there is code in the File Exchange
mizuki
mizuki 2016-12-4
If you want to know steps to run SVM on MATLAB, use fitcsvm (binary classification) or fitcecoc (multiclass classification).

请先登录,再进行评论。

回答(2 个)

Walter Roberson
Walter Roberson 2016-12-5

hendra kurnia febriawan
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.

类别

Help CenterFile Exchange 中查找有关 Classification Ensembles 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by