Reputation: 29064
I have been working on libsvm recently. I faced a problem with the pred label. All the values outputted were 1. It did not identify negative data at all. I didn't convert to LIBSVM format( meaning to say: i didn't use libsvmwrite at all). I created the label myself. So my question, is it important to convert to the LIBSVM format?
Upvotes: 0
Views: 794
Reputation: 16045
From matlab you don't need to use svmwrite. Just use svmtrain, and svmpredict. The Labels can be any number, it will convert everything automatically. Your problem comes from somewhere else.
Upvotes: 1