Azzera filtri
Azzera filtri

SVM command use

1 visualizzazione (ultimi 30 giorni)
Max
Max il 14 Nov 2011
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 Commento
Fangjun Jiang
Fangjun Jiang il 14 Nov 2011
Use the {}Code format next time.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Colormaps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by