フィルターのクリア

SVM command use

1 回表示 (過去 30 日間)
Max
Max 2011 年 11 月 14 日
hello , i have a following data set in the matrix from .. the first coloumn is a voltage reading..and the other is a corresponding angles . the third one is a category safe or unsafe . i have to classify the data between the safe and the unsafe one .
voltage angles category
X= [ 1.0115 0 safe;
1.0131 0 safe;
1.0191 0 safe;
1.0209 0 safe;
1.0389 0 safe;
1.0410 0 safe;
1.0461 0 safe;
1.0461 0 safe;
1.0462 0 safe;
1.0474 0 safe;
1.0066 -0.0686 unsafe;
1.0265 -0.0655 unsafe;
1.0320 -0.0637 unsafe;
1.0352 -0.0634 unsafe;
1.0381 -0.0516 unsafe;
1.0397 -0.0409 unsafe;
1.0418 -0.0248 unsafe;
1.0485 -0.0171 unsafe];
I have to use the support vector machine svmstruct command to classify the data into safe and unsafe zones ....in simple i have to plot a line on a graph such that the first 10 values of the voltage and the angles which are in safe zone gets seprated from the unsafe zone .. i.e plot a line between safe and unsafe values..some thing similar to the matlab example performed on the IRIS flower data set ..
  1 件のコメント
Fangjun Jiang
Fangjun Jiang 2011 年 11 月 14 日
Use the {}Code format next time.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by