I'M using weka 3.6.9 & libsvm or liblinear shows "libsvm classes are not in classpath" can you please sho with picture to me how to solve it?
I'M using weka 3.6.9 & libsvm or liblinear shows "libsvm classes are not in classpath" can you please sho with picture to me how to solve it?
It will be easier to use Weka 3.8.x or 3.9.x, as you can use its package manager. Below are instructions for both.
Weka 3.6.9
Download the libsvm zip file from the libsvm project page
Decompress the archive
Copy libsvm.jar from inside the java directory into the directory where your weka.jar is located
Open a terminal and go to the directory where your weka.jar is located
Start Weka like this on Linux (under Windows, use ; instead of :):
java -cp weka.jar:libsvm.jar weka.gui.GUIChooser
Use the weka.classifiers.functions.LibSVM classifier
Weka 3.8.x/3.9.x
libsvmlibSVM packageweka.classifiers.functions.LibSVM classifier