-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathREADME.plus
88 lines (61 loc) · 3.46 KB
/
README.plus
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Libsvm Plus is a straightforward improvement of the official
Libsvm library (http://www.csie.ntu.edu.tw/~cjlin/libsvm).
Author: Vincenzo Russo (http://neminis.org)
Download: http://neminis.org/software/libsvm-plus
Version: 2.90
What are the differences?
=========================
1. Only C++ code supported and mantained, due to the lack of enough time.
No Java code provided. Other language interfaces (like Python, etc.)
should be work but only providing the original features of LIBSVM.
Anyway, no tests were made.
2. Only Unix: for the same reason stated above, I only test on Linux and
Mac OS X, which makes LIBSVM Plus likely to work also on other modern Unix
systems. Anyway, you could try to use the Makefile.win included in official
LIBSVM package to compile and test LIBSVM Plus on Windows platforms;
3. Four additional kernels: Stump, Perceptron, Laplacian, Exponential.
Such kernels might be called "infinite ensemble kernels" because a nonlinear
SVM which uses them corresponds to a infinite ensemble classifier.
Look at the publications of Hsuan-Tien Lin for more theoretical explanations:
http://www.work.caltech.edu/~htlin/publication/
The code for realizing the above kernels was back-ported from his LIBSVM fork
http://www.work.caltech.edu/~htlin/program/libsvm/#infensemble
based on the older 2.8 version;
4. Three additional SVM models: Classification (C-SVM) via L2SVM,
Support Vector Domain Description (SVDD) via L1SVM and via L2SVM.
The code was back-ported from a LIBSVM tool:
Calculating the radius of the smallest sphere containing all training data.
http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#18
The SVDD can be used as One Class SVM alternative. More theoretical explanations
about SVDD can be found in David J. Tax PhD thesis and other papers
http://www-ict.ewi.tudelft.nl/~davidt/papers.html
Minor changes
=============
Some additional comments to the source code are provided and some C structures
(svm_model and decision_function) were moved from the svm.cpp to svm.h to allow
third part softwares to access them in a easier way. Moreover, the svm_model
structure now provides three new members: SV_idx (indices of the SVs in the
original dataset), BSV_idx (indices of the BSVs in the original dataset) and
lbsv (the number of BSVs). Finally, the enumeration element RBF (which in the
original LIBSVM refers to the Gaussian kernel) was renamed GAUSSIAN, because
there are several kernels which belong to the RBF class, not only the Gaussian one.
Windows
=======
(by Vladislavs Dovgalecs, Universite Bordeaux I, FRANCE)
To compile for Windows, you will need :
1. Microsoft Visual Studio (worked with Visual C++ 2008 Express)
2. nmake.exe, link.exe and cl.exe are usually found in VC bin directory
3. Make sure your PATH variable reflects the location of Visual Studio bin directory
(cl.exe, nmake.exe and link.exe)
Compilation is done following few steps :
1. Open the console and run VCVARS32.bat. This will setup VC global variables.
2. Run 'nmake -f Makefile.win'
License
=======
For this first release of the LIBSVM Plus we choose to use the same licensing
of the original LIBSVM library.
Version number
==============
As long as LIBSVM Plus will be a straightforwardly augmented version of the official
LIBSVM, it will have the same version number of the original LIBSVM code used for
making the release.