`
endual
  • 浏览: 3509117 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Weka LibSVM (WLSVM)

    博客分类:
  • SVM
 
阅读更多

Weka LibSVM (WLSVM):
Integrating LibSVM into Weka Environment

Weka and LibSVM are two efficient software tools for building SVM classifiers. Each one of these two tools has its points of strength and weakness. Weka has a GUI and produces many useful statistics (e.g. confusion matrix, precision, recall, F-measure, and ROC scores). LibSVM runs much faster than Weka SMO and supports several SVM methods (e.g. One-class SVM, nu-SVM, and R-SVM). Weka LibSVM (WLSVM) combines the merits of the two tools. WLSVM can be viewed as an implementation of the LibSVM running under Weka environment.

How To Use

  • Download and unzip the file wlsvm.zip
  • Add the jars libsvm.jar and wlsvm.jar to your java project
  • Use WLSVM as any other weka classifier

Notes: Your java project should also have weka.jar.

 

WLSVM Options

-S  set type of SVM (default 0)	 
		 0 = C-SVC
		 1 = nu-SVC
		 2 = one-class SVM
		 3 = epsilon-SVR
		 4 = nu-SVR
-K  set type of kernel function (default 2)	 
		 0 = linear: u'*v
		 1 = polynomial: (gamma*u'*v + coef0)^degree
		 2 = radial basis function: exp(-gamma*|u-v|^2)
		 3 = sigmoid: tanh(gamma*u'*v + coef0)
-D  set degree in kernel function (default 3)	 
-G  set gamma in kernel function (default 1/k)	 
-R  set coef0 in kernel function (default 0)	 
-C  set the parameter C of C-SVC, epsilon-SVR, and nu-SVR (default 1)	 
-N  set the parameter nu of nu-SVC, one-class SVM, and nu-SVR (default 0.5)
-Z  whether to normalize input data, 0 or 1 (default 0)
-P  set the epsilon in loss function of epsilon-SVR (default 0.1)
-M  set cache memory size in MB (default 40)
-E  set tolerance of termination criterion (default 0.001)
-H  whether to use the shrinking heuristics, 0 or 1 (default 1)
-W  set the parameters C of class i to weight[i]*C, for C-SVC (default 1)

Citation

If you would like to cite WLSVM, cite the following URL:
Yasser EL-Manzalawy and Vasant Honavar, WLSVM : Integrating LibSVM into Weka Environment, 2005. Software available at http://www.cs.iastate.edu/~yasser/wlsvm

The bibtex format is as follows

@Manual{yh05,
  author =	 {Yasser EL-Manzalawy and Vasant Honavar},
  title =	 {{WLSVM}: Integrating LibSVM into Weka Environment},
  year =	 {2005},
  note =	 {Software available at \url{http://www.cs.iastate.edu/~yasser/wlsvm}}
}

Contacts

If you have any problems using WLSVM or if you have any suggestions. Please contact Yasser EL-Manzalawy

 

分享到:
评论

相关推荐

    WEKA运行libsvm的wlsvm.jar

    WEKA 3.6调用libsvm时,需要将wlsvm.jar和libsvm.jar添加到WEKA的安装路径,然后修改RunWeka.ini的路径,才能正常运行。

    weka-3-7-9jre libsvm wlsvm

    包括weka-3-7-9jre软件以及相关的安装流程文档,另外包括libsvm相关包和集成流程文档

    weka.jar libsvm.jar wlsvm.jar

    weka和libsvm和wlsvm的jar包下载,可以在weka中集成后两者进行svm分类

    WEKA运行libsvm的libsvm.jar

    WEKA 3.6调用libsvm时,需要将wlsvm.jar和libsvm.jar添加到WEKA的安装路径,然后修改RunWeka.ini的路径,才能正常运行。

    weka 集成LibSVm所需的jar(wlsvm.zip)

    1.解压wlsvm.zip在lib目录下得到 libsvm.jar和wlsvm.jar两个文件,将其拷贝到weka安装目录下 2.修改位于weka安装目录下的RunWeka.ini文件 修改cmd_default=javaw -Dfile.encoding=#fileEncoding# -Xmx#maxheap# -...

    weka导入libsvm

    weka3.6及以下版本导入libsvm,需要将wlsvm.jar和libsvm.jar文件拷贝到WEKA的安装路径下,然后修改RunWeka.ini文件中的cmd_dafault路径,然后就大功告成了!耶

    使用weka非常有用的libsvm.jar 和wlsvm.jar

    weka中必备的libsvm.jar和wlsvm.jar, 只需修改runweka.ini中文件设置即可使用。

    weka3.6的jar及libsvm.jar和wlsvm.jar

    使用weka封装libsvm并在程序中调用所需要的三个文件

    weka3.8导入libsvm

    最新稳定版weka3.8,与之前的weka不同(导入wlsvm会不兼容),导入libsvm,LibSVM即可。亲测可用。

    weka-添加libsvm

    weka中要使用function下的libsvm等分类器,需要自行添加这两个库里面的jar。

    weka-3-6运行libsvm方法

    weka3.6运行libsvm,需要将wlsvm.jar和libsvm.jar文件拷贝到WEKA的安装路径下,然后修改RunWeka.ini文件中的cmd_dafault路径,还含有相关内容的路径检索!

    libsvm.jar,wlsvm.jar包

    weka报Problem evaluating classifier:libsvm classes not in CLASSPATH错误所需jar包,并且一定要用正确的libsvm.jar包,否则还会报Problem evaluating classifier:Rand错误,上传的这个压缩包里面的jar包可同时...

    weka 集成LibSVMm所需的jar(wlsvm.zip),另附libsvm.zip和liblinear.zip

    1.weka 集成LibSVMm所需的libsvm.jar和wlsvm.jar,并附上了使用说明,亲测可使用。 2.libsvm-3.31.zip和liblinear-2.46.zip。

    wlsvm包,共weka使用

    weka的svm包,内含wlsvm.jar和libsvm.jar文件,并附上了使用说明,亲测可使用。

    weka-3-6-12中libsvm安装配置

    weka-3-6-12中的libsvm库安装配置,包含weka-3-6-12.jre.exe,libsvm.jar,wlsvm.jar和安装配置文档

Global site tag (gtag.js) - Google Analytics