An example of using LibSVM in java

I am considering using libsvm. Currently, I have converted my feature vectors to the SVM object vector format. I use LibSVM inside the project, I need to use it somehow in my application. The problem is that at the moment, all available examples use the command line to enter LibSVM. I do not want it. Can you give me an example of how I can use it in my code (without calls on the command line and without Weka). Thanks

+5
source share
2 answers

An applet does not use command line input. Check outlibsvm-3.11.tar.gz\libsvm-3.11.tar\libsvm-3.11\java

+2
source

There are examples in the distribution source code https://github.com/arnaudsj/libsvm/tree/master/java

+4
source

All Articles