how to binary classification using SVM

1 回表示 (過去 30 日間)
fathi
fathi 2017 年 7 月 18 日
回答済み: Walter Roberson 2017 年 7 月 18 日
Hi every body
I like to ask how can I make binary classification using SVM to 1000 vector with the length of 256
that mean F= 1000*256
that mean 500 vectors from the first class and another 500 from the second class
Thank you

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 7 月 18 日
Make the feature vectors into column vectors, and put all of them together in a 2D array, so size 256 by 1000.
Create a vector of length 1000 which has 1 for each member of the first class and 2 for each member of the second class.

カテゴリ

Help Center および File ExchangeStatistics 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