This is the cl-svm Reference Manual, version 2.9, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:25:57 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-svm
Red Daly <reddaly@gmail.com>
Communist license
2.9
src
(module).
Modules are listed depth-first from the system components tree.
cl-svm/src
cl-svm
(system).
package.lisp
(file).
svm.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-svm/src/svm.lisp
package.lisp
(file).
src
(module).
dot-product
(function).
train-svm
(function).
training-pair-bind
(macro).
*debug-output*
(special variable).
Packages are listed by definition order.
cl-svm
svm
common-lisp
.
dot-product
(function).
train-svm
(function).
training-pair-bind
(macro).
*debug-output*
(special variable).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Binds the symbols named by x-var and y-var to the x and y components of a training pair.
Trains a simple SVM using an arbitrary kernel. Training-pairs is a sequence
of of pairs, where the car of each pair is a vector of numbers and the cdr is either -1 or 1.
This will return three values: The first value is a function that can be called with
an argument of the same dimension as a training example. It will return either t
or nil.
The other two return values are the vector w and the scalar b that define the plane of the form
w . x - b = 0.
Implementation note:
The algorithm used to optimize the SVM is the SMO algorithm first described by Platt. It is
actually not even that algorithm, yet, because we apply no heuristic to choose which
constraints to optimize–we just select random ones. Also we do not account
for the case where n=0 in the code below, which is done in the actual SMO algorithm.
Jump to: | D F M T |
---|
Jump to: | D F M T |
---|
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*debug-output* : | Private special variables | ||
| |||
S | |||
Special Variable, *debug-output* : | Private special variables | ||
|
Jump to: | *
S |
---|
Jump to: | C F M P S |
---|
Jump to: | C F M P S |
---|