Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.