I am running Max OS X 10.7 Lion and I want to use WEKA with LibSVM from command line. I get this error:
Problem evaluating classifier: libsvm classes not in CLASSPATH!
I found the LibSVM library here. I need to add it to my Java classpath so that WEKA can find it. The download contains several files, shown below. I don't know how to add them to my classpath for Java.
I am attempting to use the LibSVM classifier in WEKA because it is preferable for me over SMO. I am also unsure if this means the Java classpath or if it is specific to WEKA. I also don't know where to get these classes from. Any help is appreciated.
Here is another extremely easy way to add LibSVM support to WEKA on OS X (no command line needed):
<string>$JAVAROOT/weka.jar</string>
to <string>$JAVAROOT/weka.jar:$JAVAROOT/libsvm.jar</string>
(you can also adjust the heap size here)