Libsvm is a small library for support vector machines written in C. here is the link to the source of libsvm I\'ve used ( https://github.com/cjlin1/libsvm ). Can someone correct