LIBSVM -- A Library for Support Vector MachinesChih-Chung Chang and Chih-Jen Lin
IntroductionLIBSVM is an integrated software for support vector classification, (C-SVC, nu-SVC), regression (epsilon-SVR,nu-SVR) and distribution estimation (one-class SVM). It supports multi-class classification. Since version 2.8, it implements an SMO-type algorithm proposed in this paper:
R.-E. Fan, P.-H. Chen, and C.-J. Lin. Working set selection using second order information for training SVM. Journal of Machine Learning Research 6, 1889-1918, 2005. You can also find a pseudo code there. (how to cite LIBSVM) Our goal is to help users from other fields to easily use SVM as a tool. LIBSVM provides a simple interface where users can easily link it with their own programs. Main features of LIBSVM include
- Different SVM formulations
- Efficient multi-class classification
- Cross validation for model selection
- Probability estimates
- Various kernels (including precomputed kernel matrix)
- Weighted SVM for unbalanced data
- Both C++ and Java sources
- GUI demonstrating SVM classification and regression
- Python, R, MATLAB, Perl, Ruby, Weka, Common LISP, CLISP, Haskell, LabVIEW, and PHP interfaces. C# .NET code and CUDA extension is available.
It's also included in some data mining environments: RapidMiner and PCP.
- Automatic model selection which can generate contour of cross valiation accuracy.
Download LIBSVMThe current release (Version 3.1, April 2011) of
LIBSVM can be obtained by downloading the
zip file or [url=http://www.csie.ntu.edu.tw/~cjlin/cgi-bin/libsvm.cgi?+ http://www.csie.ntu.edu.tw/~cjlin/libsvm+tar.gz]
tar.gz [/url]file. Please e-mail us if you have problems to download the file. The package includes the source code of the library in C++ and Java, and a simple program for scaling training data. A README file with detailed explanation is provided. For
MS Windowsusers, there is a subdirectory in the zip file containing binary executable files. Precompiled Java class archive is also included. Please read the
COPYRIGHT notice before using
LIBSVM.
该库的中文介绍: http://baike.baidu.com/view/598089.htm,坛内有一个国内学生整理的该库详细代码的说明文档可以参考,可以搜索libsvm找到该文。