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
Post a Comment