Reputation: 109
I am beginner at LibSVM
. I want to use one vs all
strategy multiclassification by LibSVM
. To do so, I've read its fundamental, but they does not make me an idea. Is there any good Java code example for this?
Upvotes: 0
Views: 774
Reputation: 5751
According to the implementation documentation the library LIBSVM uses the "one vs all" strategy for multiclass prediction by default.
For code samples you can take a look on the Java port of LIBSVM, which can be found here for training and here for prediction.
Basically you can use the provided CLI to train/predict. If you like to use it in your own code, you have to perform some "refactoring" in order to make it more feasable for your purpose.
The basics steps to use it with java are:
Upvotes: 2