A simple SVM example

9 ビュー (過去 30 日間)
Greg Athanasiadis
Greg Athanasiadis 2016 年 12 月 4 日
回答済み: hendra kurnia febriawan 2018 年 10 月 3 日
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
hendra kurnia febriawan 2018 年 10 月 3 日
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 Center および File ExchangeClassification Ensembles についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by