I am trying to classify the reuters text using svm light but my train data does not follow the format
<'line> .=. <'target> <'feature>:<'value> <'feature>:<'value> ... <'feature>:<'value> # <'info>
it is of the form
<'line> .=. <'feature>:<'value> <'feature>:<'value> ... <'feature>:<'value> # <'info>
The target label is in a separate file. I know there's an option in SVM light that lets you specify a separate target label file but i cannot find it on the SVM light website because a get an arror message:
Reading examples into memory...Line must start with label or 0!!!
whenever i load my training data using
svm_learn example1/train.dat example1/model
any help ?