Prediction error with libsvm
0
0
Entering edit mode
8.9 years ago
xoron1991 • 0

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 execution and unfortunately 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

Please help

matlab libsvm • 1.8k views
ADD COMMENT
0
Entering edit mode

Hi @xoron1991, I am also learning to use libsvm. I have a multifasta file and I have no clue on how to give it as input. Can you educate me on how to move forward with the multifasta file?

ADD REPLY

Login before adding your answer.

Traffic: 3720 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6