How to use SVM in Weka?

I am trying to use SVM classifier in Weka When I click on the libsvm classifier and try to train the model based on some provided training data, I get an error

libsvm classes not in CLASSPATH.

Weka has some information about how to solve this problem, but I don't know how to implement them

http://weka.wikispaces.com/LibSVM

I got libsvm. XML from the link provided Jar file I'm not sure which file to put in

Solution

You must set the classpath variable so that it knows where to find the jar on the local machine

If you right-click the computer on windows – > properties – > advanced system settings – > environment variable and set it under system variable Maybe you already have a classpath variable; So just add the path of the jar file to the end

reference resources: http://weka.wikispaces.com/CLASSPATH

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>