Weka LibSVM (WLSVM)

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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值