Hi,

I am using LIBSVM software with MATLAB interface to classify my data which use  SVM algorithm. It is giving output for decision values but I want distance from the hyperplane. In FAQ suggestions  are given to find distance:

http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#f415

I am from mathematics background. So, it is difficult for me to modify the code according to the suggestion.

Online modifications are given to find distance using Python.

https://github.com/VanessaD/libsvm-3.0.extended.wdi.

But, I don't know python. 

Can any one help me to modify the code.

Thanks.

More Krupal Parikh's questions See All
Similar questions and discussions