Question: Prediction error with libsvm
0
gravatar for xoron1991
3.8 years ago by
xoron19910
United States
xoron19910 wrote:

I've just recently started using libsvm. I've been trying for awhile to train my features get the model and then do a prediction with corresponding features. I am using MATLAB for my exectuion and unforunately after i run it svmpredict just returns the usage definition of it even after the training shows the model and iterations. And it also displays  " Wrong input format at line 3" . 

my training data is like this

-1 1:60 2:32 3:17 4:6
-1 1:60 2:31 3:17 4:6
-1 1:63 2:35 3:16 4:7
-1 1:61 2:32 3:17 4:7
-1 1:59 2:31 3:17 4:6
-1 1:56 2:29 3:16 4:5
-1 1:54 2:29 3:15 4:5

and my testing data is something like this

-1 1:60 2:39 3:66 4:32
-1 1:58 2:40 3:65 4:29
-1 1:58 2:42 3:68 4:31
-1 1:58 2:41 3:64 4:32
-1 1:56 2:33 3:42 4:27
-1 1:56 2:34 3:29 4:18
-1 1:57 2:34 3:43 4:13
-1 1:58 2:38 3:57 4:19
-1 1:60 2:39 3:63 4:26
+1 1:55 2:35 3:72 4:31

Kindly please help 

matlab classification libsvm • 959 views
ADD COMMENTlink written 3.8 years ago by xoron19910
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1077 users visited in the last hour