machine learning - SVMlight train data formatting -


i trying classify reuters text using svm light train data not follow format

<'line> .=. <'target> <'feature>:<'value> <'feature>:<'value> ... <'feature>:<'value> # <'info>

it of form

<'line> .=. <'feature>:<'value> <'feature>:<'value> ... <'feature>:<'value> # <'info>

the target label in separate file. know there's option in svm light lets specify separate target label file cannot find on svm light website because arror message:

reading examples memory...line must start label or 0!!!

whenever load training data using

svm_learn example1/train.dat example1/model

any ?

performing rigorous research realized there no syntax in svm light allows users specify external class label file training data. class labels must part of training data , should follow "target feature:value" format of svm light


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -