Sign up ×
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It's 100% free, no registration required.

I have a model file that was created using svmlight in classification mode with a linear kernel. Is it possible to convert this file so that libsvm can use it for classifying?

share|improve this question

1 Answer 1

You will have to retrain it. For the training file, in the svmlight / libsvm format, each line takes the form (source) :

<label> <feature-id>:<feature-value> <feature-id>:<feature-value> ....
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.