Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.73 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.73 KB

svm light JNI

This project is a Java Native Interface for Thorsten Joachims' svm_light-6.02. It is based upon Tom Crecelius' and Martin Theobald's original version but provides a fix that enables the training of Ranking SVMs. In the original version, the parameter query id was neither propagated nor imported from training data. This has been fixed and tested here.

Resources

Apart from the Java code, this repository includes the following resources:

  • the original SVM light implementation by Thorsten Joachims (see lib/svmlight-6.02)
  • the interface code and Makefiles to build libraries for Linux, Windows and OS (see lib/svmlight-6.02)
  • a pre-compiled 64bit dll tested on Windows 10 with Java 8
  • a training and test data set for Ranking SVMs (see data/example3). The data in this folder has been downloaded from the above svm light website and is included here to enable interface testing.

The dll can be build with cygwin through

    make cygwin tidy

Note: for Windows using the mingw compiler, the path in the Makefile might need to be adapted (as well as the Java path).

References

Licenses

SVM Light is subject to Thorsten Joachim's license.