Training and test files should be of the same format, each instance has a line of the following form:
<line> .=. <target> <feature>:<value> ... <feature>:<value> # <info> <target> .=. +1 | -1 | 0 | <float> <feature> .=. <integer> | "qid" <value> .=. <float> <info> .=. <string>
For example (copy the pasta from the SVM ^ light website):
-1 1:0.43 3:0.12 9284:0.2 # abcdef
For more information, you can contact
Marc claesen
source share