The cl-libsvm Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-libsvm Reference Manual

This is the cl-libsvm Reference Manual, version 0.0.7, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:13:18 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

CL-LIBSVM

Common Lisp wrapper for the libsvm support vector machine library by
Ravenpack, Gabor Melis.

It's under the MIT licence. See COPYING.

* Design notes

The lisp API tries to protect the programmer from the dangers of C,
take care of memory management and wrap everything in CLOS classes
while trying not to deviate too much from the original interface so
that one can use existing documentation without too much trouble.

* API differences

PROBLEMs, PARAMETERs and MODELs are represented as CLOS classes.
Foreign memory is freed when they are garbage collected. The
implementation is based on weak value hash tables (currently for sbcl,
allegro and clisp).

In the C API, one passes sparse vectors as struct node *, where a node
with index -1 denotes the end of the vector. On the lisp side one
passes sparse vectors as vectors of index/value conses like (VECTOR
(CONS 2 0.1) (CONS 3 0.2)) or as mapper functions. The restrictions
that indices should be increasing and not less than 1 still stand, but
unlike in C, violations are detected.

A mapper for a sparse vector calls the function it is given with index
and value parameters. A mapper function that simply maps a vector of
conses is:

  (lambda (fn)
    (map nil (lambda (c)
               (funcall fn (car c) (cdr c)))
         (vector (cons 2 0.1) (cons 3 0.2))))

Mappers abstract away the underlying data structure. Generalized
sequences would be nicer, but they only exist in SBCL.

One can pass a mapper function instead of a vector anywhere including
the TARGETS parameter of TRAIN. It also works for the INPUTS parameter
since INPUTS is a vector of sparse vectors one can turn it into a
mapper to sparse vector mappers.

* Compatibility

Tested with libsvm version 2.82, 2.83, 2.86 and 2.88.

Some functionality (MODEL-W2S) requires patching the original sources.
The distributed sources under lib/src/ contain the necessary changes.

In the lib/ directory there are platform specific shared libraries,
see the README files for version information.

Note that you may want to disable excessive verbosity by changing '#if
1' to '#if 0' around the definition of info in svm.cpp. The
precompiled libraries in lib/ contain this change.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-libsvm

Author

Gabor Melis

License

MIT

Description

CFFI wrapper for LIBSVM

Long Description

CFFI wrapper for LIBSVM, the machine learning library

Version

0.0.7

Dependencies
Source

cl-libsvm.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 cl-libsvm.asd

Location

cl-libsvm.asd

Systems

cl-libsvm (system)

Packages

cl-libsvm.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 cl-libsvm/libsvm-package.lisp

Parent

cl-libsvm (system)

Location

libsvm-package.lisp

Packages

cl-libsvm


Previous: , Up: Lisp files   [Contents][Index]

3.1.3 cl-libsvm/libsvm.lisp

Dependency

libsvm-package.lisp (file)

Parent

cl-libsvm (system)

Location

libsvm.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 cl-libsvm.system

Source

cl-libsvm.asd

Use List

Previous: , Up: Packages   [Contents][Index]

4.2 cl-libsvm

Wrapper for the libsvm support vector machine library.

Source

libsvm-package.lisp (file)

Nickname

libsvm

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Functions

Function: check-parameter PROBLEM PARAMETER &key ERRORP

See if PARAMETER is suitable for PROBLEM. Return T if it is, and NIL and a string explaining why if it is not. If ERRORP and the check fails signal BAD-PARAMETER condition.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: distances-from-hyperplane DECISION-VALUES W2S

Calculate the distances from the decision boundary for each subsvm in a classification class. You may obtain DECISION-VALUES from PREDICT-VALUES and W2S from MODEL-W2S.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: get-labels MODEL

Wrapper around svm_get_labels.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: kernel-type PARAMETER

Return the value of the KERNEL-TYPE slot of PARAMETER.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: load-model FILENAME

Load a model from a file.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: load-normalizer FILENAME

Load normalizer from FILENAME that is in the format used by svm-scale.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: load-problem FILENAME

Read a problem from FILENAME in the LIBSVM/SVMLight format.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: make-normalizer INPUTS &key LOWER UPPER

Create a normalizer that will translate inputs to the [LOWER,UPPER] range.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: make-parameter &key SVM-TYPE KERNEL-TYPE DEGREE GAMMA COEF0 NU CACHE-SIZE-MIB C EPS P SHRINKING PROBABILITY

Make an object that describes how to TRAIN. Note that the command line svm-train defaults to GAMMA=1/maxindex but in this function it defaults to 0. SVM-TYPE is one of :C-SVC, :NU-SVC, :ONE-CLASS, :EPSILON-SVR, :NU-SVR. KERNEL-TYPE is one of :LINEAR, :POLY, :RBF, :SIGMOID, :PRECOMPUTED. See the LIBSVM documentation for the meaning of the arguments.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: make-problem TARGETS INPUTS

Create a problem from TARGET that is a vector of real numbers and INPUTS that is a vector of sparse vectors. A sparse vector has index/value conses as elements, alternatively it may be given as a mapper function that maps to index and value.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: map-normalized-input NORMALIZER INPUT FUNCTION

Map function over the features in INPUT normalized by NORMALIZER.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: map-problem-input FUNCTION PROBLEM I

Map FUNCTION over the indices and values of the Ith input vector of PROBLEM.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: model-w2s MODEL

Get the squared norm of the vector of each hyperplane for the binary SVMs. See PREDICT-VALUES. To calculate the distance from the decision boundary, use DISTANCES-FROM-HYPERPLANE.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: n-classes MODEL

For a classification model, this function gives the number of classes. For a regression or an one-class model, 2 is returned.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: parameter-error PROBLEM PARAMETER EXPLANATION
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: predict MODEL INPUT

Return the prediction (a double float) for the sparse vector INPUT according to MODEL.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: predict-distances MODEL INPUT &key W2S

Convenience function on top of PREDICT-DISTANCES and PREDICT-VALUES. W2S may be passed in to save computation.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: predict-probabilities MODEL INPUT

Return the prediction (a double float) for the sparse vector INPUT according to MODEL. As the second value return a double float vector of probabilities for the labels in the order they appear in GET-LABELS.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: predict-values MODEL INPUT

Wrapper around svm_predict_values. For a classification model with nr_class classes, this function gives nr_class*(nr_class-1)/2 decision values in the array dec_values, where nr_class can be obtained from the function svm_get_nr_class. The order is label[0] vs. label[1], ..., label[0] vs. label[nr_class-1], label[1] vs. label[2], ..., label[nr_class-2] vs. label[nr_class-1], where label can be obtained from the function svm_get_labels.

For a regression model, label[0] is the function value of x calculated using the model. For one-class model, label[0] is +1 or -1.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: problem-size PROBLEM

Return the number of targets in PROBLEM.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: problem-target PROBLEM I

Return the Ith target.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: save-model MODEL FILENAME

Save MODEL to FILENAME.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: save-normalizer NORMALIZER FILENAME

Save NORMALIZER to FILENAME in the format used by svm-scale.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: save-problem PROBLEM FILENAME

Save PROBLEM to FILENAME in the LIBSVM/SVMLight format.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: svm-type PARAMETER

Return the value of the SVM-TYPE slot of PARAMETER.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: train PROBLEM PARAMETER

Train and return a model object on PROBLEM according PARAMETER. Signal a PARAMETER-ERROR if PARAMETER is incorrect.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: value-for-subsvm SEQ LABEL1 LABEL2 &key MODEL MODEL-LABELS

In classification tasks, there is one subsvm for each unordered pair of different labels. Return the value in SEQ pertaining to the subsvm that dicedes between LABEL1 and LABEL2. This is to look up values in the result of PREDICT-VALUES, MODEL-W2S or DISTANCES-FROM-HYPERPLANE.

Package

cl-libsvm

Source

libsvm.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Generic functions

Generic Function: parameter CONDITION
Package

cl-libsvm

Methods
Method: parameter (CONDITION parameter-error)
Source

libsvm.lisp (file)

Generic Function: problem CONDITION
Package

cl-libsvm

Methods
Method: problem (CONDITION parameter-error)
Source

libsvm.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Conditions

Condition: libsvm-error ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

condition (condition)

Direct subclasses
Condition: parameter-error ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

libsvm-error (condition)

Direct methods
Direct slots
Slot: parameter
Initargs

:parameter

Readers

parameter (generic function)

Slot: problem
Initargs

:problem

Readers

problem (generic function)

Slot: explanation
Initargs

:explanation

Readers

explanation (generic function)

Condition: sparse-index-error ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

libsvm-error (condition)

Direct methods
Direct slots
Slot: index
Initargs

:index

Readers

index (generic function)

Slot: max-index
Initargs

:max-index

Readers

max-index (generic function)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Classes

Class: model ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

wrapper (class)

Direct methods
Class: normalizer ()

Normalizers offer basically the same functionality as svm-scale.

Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: lower
Initargs

:lower

Readers

lower (generic function)

Slot: upper
Initargs

:upper

Readers

upper (generic function)

Slot: min-maxes
Initargs

:min-maxes

Readers

min-maxes (generic function)

Class: parameter ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

wrapper (class)

Direct methods
  • print-object (method)
  • translate-to-foreign (method)
Class: problem ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

wrapper (class)

Direct methods
  • print-object (method)
  • translate-to-foreign (method)

Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *libsvm-dir*
Package

cl-libsvm

Source

libsvm.lisp (file)

Special Variable: *libsvm-lib-dir*
Package

cl-libsvm

Source

libsvm.lisp (file)

Special Variable: *wrappers*

An address to wrapper map.

Package

cl-libsvm

Source

libsvm.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Macros

Macro: define-slot-reader NAME (&key POINTER-CTYPE CLASS-NAME CTYPE SLOT-NAME) &optional DOCUMENTATION
Package

cl-libsvm

Source

libsvm.lisp (file)

Macro: define-wrapped-pointer CTYPE CLASS
Package

cl-libsvm

Source

libsvm.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Functions

Function: %check-parameter PROBLEM PARAMETER
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: %destroy-model-v2 MODEL
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: %destroy-model-v3 MODEL
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: %get-labels MODEL LABELS
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: %load-model FILENAME
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: %predict-probability MODEL INPUT PROBABILITIES
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: %predict-values MODEL INPUT DECISION-VALUES
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: %save-model FILENAME MODEL
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: %svm_get_model_w2 MODEL
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: %train PROBLEM PARAMETER
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: convert-to-double X
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: foreign-slot-value* OBJECT POINTER-CTYPE CTYPE SLOT-NAME

A type safe variant of FOREIGN-SLOT-VALUE that first convert the lisp OBJECT to POINTER-CTYPE and than returns the value of its slot.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: map-input FUNCTION SEQUENCE-OR-MAPPER
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: map-it FUNCTION SEQUENCE-OR-MAPPER
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: map-sparse-vector FUNCTION VECTOR
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: mapper-length MAPPER
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: model-parameter MODEL
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: read-normalizer STREAM

Load normalizer from STREAM that is in the format used by svm-scale.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: symmetric-upper-half-index ROW COL N
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: test ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: test-normalizer ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: test-predict-probabilities ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: test-predict-values ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: test-problem ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Function: upper-half-index ROW COL N

If the upper half of a square matrix of size N is stored in a vector in a quasi row major manner, then return the index into this vector corresponding to the element at ROW and COL. (< ROW COL N) must hold.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: write-normalizer NORMALIZER STREAM

Save NORMALIZER to STREAM in the format used by svm-scale.

Package

cl-libsvm

Source

libsvm.lisp (file)

Function: ~= X Y &optional TOLERANCE
Package

cl-libsvm

Source

libsvm.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Generic functions

Generic Function: convert-vector OBJECT CTYPE
Package

cl-libsvm

Source

libsvm.lisp (file)

Methods
Method: convert-vector (VECTOR vector) CTYPE
Method: convert-vector (MAPPER function) CTYPE
Method: convert-vector (SYMBOL symbol) CTYPE
Generic Function: ctype OBJECT
Package

cl-libsvm

Methods
Method: ctype (WRAPPER wrapper)

The foreign type of POINTER.

Source

libsvm.lisp (file)

Generic Function: ctype->wrapper-class CTYPE

Return the designator of the class that is to be instantiated when a pointer of CTYPE is being wrapped.

Package

cl-libsvm

Source

libsvm.lisp (file)

Methods
Method: ctype->wrapper-class (CTYPE model-type)
Method: ctype->wrapper-class (CTYPE parameter-type)
Method: ctype->wrapper-class (CTYPE problem-type)
Method: ctype->wrapper-class CTYPE
Generic Function: destroy-wrapped-pointer POINTER CTYPE

Free foreign resources associated with POINTER of CTYPE.

Package

cl-libsvm

Source

libsvm.lisp (file)

Methods
Method: destroy-wrapped-pointer MODEL (CTYPE model)
Method: destroy-wrapped-pointer PROBLEM (CTYPE problem-type)
Method: destroy-wrapped-pointer POINTER CTYPE
Generic Function: explanation CONDITION
Package

cl-libsvm

Methods
Method: explanation (CONDITION parameter-error)
Source

libsvm.lisp (file)

Generic Function: index CONDITION
Package

cl-libsvm

Methods
Method: index (CONDITION sparse-index-error)
Source

libsvm.lisp (file)

Generic Function: lower OBJECT
Package

cl-libsvm

Methods
Method: lower (NORMALIZER normalizer)

automatically generated reader method

Source

libsvm.lisp (file)

Generic Function: max-index CONDITION
Package

cl-libsvm

Methods
Method: max-index (CONDITION sparse-index-error)
Source

libsvm.lisp (file)

Generic Function: min-maxes OBJECT
Package

cl-libsvm

Methods
Method: min-maxes (NORMALIZER normalizer)

automatically generated reader method

Source

libsvm.lisp (file)

Generic Function: pointer OBJECT
Package

cl-libsvm

Methods
Method: pointer (WRAPPER wrapper)

A foreign pointer that is destroyed when its wrapper is garbage collected.

Source

libsvm.lisp (file)

Generic Function: reachable-objects POINTER CTYPE

Return a list of objects reachable from POINTER of CTYPE. Used to initialize REFERNCES of a wrapper.

Package

cl-libsvm

Source

libsvm.lisp (file)

Methods
Method: reachable-objects POINTER CTYPE
Generic Function: references OBJECT
Generic Function: (setf references) NEW-VALUE OBJECT
Package

cl-libsvm

Methods
Method: references (WRAPPER wrapper)
Method: (setf references) NEW-VALUE (WRAPPER wrapper)

A list of lisp objects reachable from POINTER.

Source

libsvm.lisp (file)

Generic Function: upper OBJECT
Package

cl-libsvm

Methods
Method: upper (NORMALIZER normalizer)

automatically generated reader method

Source

libsvm.lisp (file)

Generic Function: wrap POINTER CTYPE
Package

cl-libsvm

Source

libsvm.lisp (file)

Methods
Method: wrap POINTER CTYPE

Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Classes

Class: double-vector ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods
  • translate-to-foreign (method)
  • translate-to-foreign (method)
  • translate-to-foreign (method)
Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: error-code-type ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods

translate-from-foreign (method)

Direct Default Initargs
InitargValue
:actual-type(quote (:int))
Class: model-type ()

A model is what falls out of training and can be used later to make predictions.

Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods
Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: node-tclass ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: parameter-struct-tclass ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: parameter-type ()

A parameter object encapsulates the different kinds
of parameters of SVM. Some of the parameters are specific to a particular kernel.

Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods
Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: problem-struct-tclass ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: problem-type ()

A problem consists of a number of sparse input
vectors and their respective targets. The target is the label of the class for classification or value for regression.

Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods
Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: sparse-vector ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct subclasses

temporary-sparse-vector (class)

Direct methods
  • translate-to-foreign (method)
  • translate-to-foreign (method)
  • translate-to-foreign (method)
Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: sparse-vector-vector ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods
  • translate-to-foreign (method)
  • translate-to-foreign (method)
  • translate-to-foreign (method)
Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: temporary-sparse-vector ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

sparse-vector (class)

Direct methods

free-translated-object (method)

Class: wrapper ()
Package

cl-libsvm

Source

libsvm.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: pointer

A foreign pointer that is destroyed when its wrapper is garbage collected.

Initargs

:pointer

Readers

pointer (generic function)

Slot: ctype

The foreign type of POINTER.

Initargs

:ctype

Readers

ctype (generic function)

Slot: references

A list of lisp objects reachable from POINTER.

Initargs

:references

Readers

references (generic function)

Writers

(setf references) (generic function)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-libsvm.asd: The cl-libsvm<dot>asd file
cl-libsvm/libsvm-package.lisp: The cl-libsvm/libsvm-package<dot>lisp file
cl-libsvm/libsvm.lisp: The cl-libsvm/libsvm<dot>lisp file

F
File, Lisp, cl-libsvm.asd: The cl-libsvm<dot>asd file
File, Lisp, cl-libsvm/libsvm-package.lisp: The cl-libsvm/libsvm-package<dot>lisp file
File, Lisp, cl-libsvm/libsvm.lisp: The cl-libsvm/libsvm<dot>lisp file

L
Lisp File, cl-libsvm.asd: The cl-libsvm<dot>asd file
Lisp File, cl-libsvm/libsvm-package.lisp: The cl-libsvm/libsvm-package<dot>lisp file
Lisp File, cl-libsvm/libsvm.lisp: The cl-libsvm/libsvm<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (   ~  
C   D   E   F   G   I   K   L   M   N   P   R   S   T   U   V   W  
Index Entry  Section

%
%check-parameter: Internal functions
%destroy-model-v2: Internal functions
%destroy-model-v3: Internal functions
%get-labels: Internal functions
%load-model: Internal functions
%predict-probability: Internal functions
%predict-values: Internal functions
%save-model: Internal functions
%svm_get_model_w2: Internal functions
%train: Internal functions

(
(setf references): Internal generic functions
(setf references): Internal generic functions

~
~=: Internal functions

C
check-parameter: Exported functions
convert-to-double: Internal functions
convert-vector: Internal generic functions
convert-vector: Internal generic functions
convert-vector: Internal generic functions
convert-vector: Internal generic functions
ctype: Internal generic functions
ctype: Internal generic functions
ctype->wrapper-class: Internal generic functions
ctype->wrapper-class: Internal generic functions
ctype->wrapper-class: Internal generic functions
ctype->wrapper-class: Internal generic functions
ctype->wrapper-class: Internal generic functions

D
define-slot-reader: Internal macros
define-wrapped-pointer: Internal macros
destroy-wrapped-pointer: Internal generic functions
destroy-wrapped-pointer: Internal generic functions
destroy-wrapped-pointer: Internal generic functions
destroy-wrapped-pointer: Internal generic functions
distances-from-hyperplane: Exported functions

E
explanation: Internal generic functions
explanation: Internal generic functions

F
foreign-slot-value*: Internal functions
Function, %check-parameter: Internal functions
Function, %destroy-model-v2: Internal functions
Function, %destroy-model-v3: Internal functions
Function, %get-labels: Internal functions
Function, %load-model: Internal functions
Function, %predict-probability: Internal functions
Function, %predict-values: Internal functions
Function, %save-model: Internal functions
Function, %svm_get_model_w2: Internal functions
Function, %train: Internal functions
Function, check-parameter: Exported functions
Function, convert-to-double: Internal functions
Function, distances-from-hyperplane: Exported functions
Function, foreign-slot-value*: Internal functions
Function, get-labels: Exported functions
Function, kernel-type: Exported functions
Function, load-model: Exported functions
Function, load-normalizer: Exported functions
Function, load-problem: Exported functions
Function, make-normalizer: Exported functions
Function, make-parameter: Exported functions
Function, make-problem: Exported functions
Function, map-input: Internal functions
Function, map-it: Internal functions
Function, map-normalized-input: Exported functions
Function, map-problem-input: Exported functions
Function, map-sparse-vector: Internal functions
Function, mapper-length: Internal functions
Function, model-parameter: Internal functions
Function, model-w2s: Exported functions
Function, n-classes: Exported functions
Function, parameter-error: Exported functions
Function, predict: Exported functions
Function, predict-distances: Exported functions
Function, predict-probabilities: Exported functions
Function, predict-values: Exported functions
Function, problem-size: Exported functions
Function, problem-target: Exported functions
Function, read-normalizer: Internal functions
Function, save-model: Exported functions
Function, save-normalizer: Exported functions
Function, save-problem: Exported functions
Function, svm-type: Exported functions
Function, symmetric-upper-half-index: Internal functions
Function, test: Internal functions
Function, test-normalizer: Internal functions
Function, test-predict-probabilities: Internal functions
Function, test-predict-values: Internal functions
Function, test-problem: Internal functions
Function, train: Exported functions
Function, upper-half-index: Internal functions
Function, value-for-subsvm: Exported functions
Function, write-normalizer: Internal functions
Function, ~=: Internal functions

G
Generic Function, (setf references): Internal generic functions
Generic Function, convert-vector: Internal generic functions
Generic Function, ctype: Internal generic functions
Generic Function, ctype->wrapper-class: Internal generic functions
Generic Function, destroy-wrapped-pointer: Internal generic functions
Generic Function, explanation: Internal generic functions
Generic Function, index: Internal generic functions
Generic Function, lower: Internal generic functions
Generic Function, max-index: Internal generic functions
Generic Function, min-maxes: Internal generic functions
Generic Function, parameter: Exported generic functions
Generic Function, pointer: Internal generic functions
Generic Function, problem: Exported generic functions
Generic Function, reachable-objects: Internal generic functions
Generic Function, references: Internal generic functions
Generic Function, upper: Internal generic functions
Generic Function, wrap: Internal generic functions
get-labels: Exported functions

I
index: Internal generic functions
index: Internal generic functions

K
kernel-type: Exported functions

L
load-model: Exported functions
load-normalizer: Exported functions
load-problem: Exported functions
lower: Internal generic functions
lower: Internal generic functions

M
Macro, define-slot-reader: Internal macros
Macro, define-wrapped-pointer: Internal macros
make-normalizer: Exported functions
make-parameter: Exported functions
make-problem: Exported functions
map-input: Internal functions
map-it: Internal functions
map-normalized-input: Exported functions
map-problem-input: Exported functions
map-sparse-vector: Internal functions
mapper-length: Internal functions
max-index: Internal generic functions
max-index: Internal generic functions
Method, (setf references): Internal generic functions
Method, convert-vector: Internal generic functions
Method, convert-vector: Internal generic functions
Method, convert-vector: Internal generic functions
Method, ctype: Internal generic functions
Method, ctype->wrapper-class: Internal generic functions
Method, ctype->wrapper-class: Internal generic functions
Method, ctype->wrapper-class: Internal generic functions
Method, ctype->wrapper-class: Internal generic functions
Method, destroy-wrapped-pointer: Internal generic functions
Method, destroy-wrapped-pointer: Internal generic functions
Method, destroy-wrapped-pointer: Internal generic functions
Method, explanation: Internal generic functions
Method, index: Internal generic functions
Method, lower: Internal generic functions
Method, max-index: Internal generic functions
Method, min-maxes: Internal generic functions
Method, parameter: Exported generic functions
Method, pointer: Internal generic functions
Method, problem: Exported generic functions
Method, reachable-objects: Internal generic functions
Method, references: Internal generic functions
Method, upper: Internal generic functions
Method, wrap: Internal generic functions
min-maxes: Internal generic functions
min-maxes: Internal generic functions
model-parameter: Internal functions
model-w2s: Exported functions

N
n-classes: Exported functions

P
parameter: Exported generic functions
parameter: Exported generic functions
parameter-error: Exported functions
pointer: Internal generic functions
pointer: Internal generic functions
predict: Exported functions
predict-distances: Exported functions
predict-probabilities: Exported functions
predict-values: Exported functions
problem: Exported generic functions
problem: Exported generic functions
problem-size: Exported functions
problem-target: Exported functions

R
reachable-objects: Internal generic functions
reachable-objects: Internal generic functions
read-normalizer: Internal functions
references: Internal generic functions
references: Internal generic functions

S
save-model: Exported functions
save-normalizer: Exported functions
save-problem: Exported functions
svm-type: Exported functions
symmetric-upper-half-index: Internal functions

T
test: Internal functions
test-normalizer: Internal functions
test-predict-probabilities: Internal functions
test-predict-values: Internal functions
test-problem: Internal functions
train: Exported functions

U
upper: Internal generic functions
upper: Internal generic functions
upper-half-index: Internal functions

V
value-for-subsvm: Exported functions

W
wrap: Internal generic functions
wrap: Internal generic functions
write-normalizer: Internal functions

Jump to:   %   (   ~  
C   D   E   F   G   I   K   L   M   N   P   R   S   T   U   V   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
C   E   I   L   M   P   R   S   U  
Index Entry  Section

*
*libsvm-dir*: Internal special variables
*libsvm-lib-dir*: Internal special variables
*wrappers*: Internal special variables

C
ctype: Internal classes

E
explanation: Exported conditions

I
index: Exported conditions

L
lower: Exported classes

M
max-index: Exported conditions
min-maxes: Exported classes

P
parameter: Exported conditions
pointer: Internal classes
problem: Exported conditions

R
references: Internal classes

S
Slot, ctype: Internal classes
Slot, explanation: Exported conditions
Slot, index: Exported conditions
Slot, lower: Exported classes
Slot, max-index: Exported conditions
Slot, min-maxes: Exported classes
Slot, parameter: Exported conditions
Slot, pointer: Internal classes
Slot, problem: Exported conditions
Slot, references: Internal classes
Slot, upper: Exported classes
Special Variable, *libsvm-dir*: Internal special variables
Special Variable, *libsvm-lib-dir*: Internal special variables
Special Variable, *wrappers*: Internal special variables

U
upper: Exported classes

Jump to:   *  
C   E   I   L   M   P   R   S   U  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   D   E   L   M   N   P   S   T   W  
Index Entry  Section

C
cl-libsvm: The cl-libsvm system
cl-libsvm: The cl-libsvm package
cl-libsvm.system: The cl-libsvm<dot>system package
Class, double-vector: Internal classes
Class, error-code-type: Internal classes
Class, model: Exported classes
Class, model-type: Internal classes
Class, node-tclass: Internal classes
Class, normalizer: Exported classes
Class, parameter: Exported classes
Class, parameter-struct-tclass: Internal classes
Class, parameter-type: Internal classes
Class, problem: Exported classes
Class, problem-struct-tclass: Internal classes
Class, problem-type: Internal classes
Class, sparse-vector: Internal classes
Class, sparse-vector-vector: Internal classes
Class, temporary-sparse-vector: Internal classes
Class, wrapper: Internal classes
Condition, libsvm-error: Exported conditions
Condition, parameter-error: Exported conditions
Condition, sparse-index-error: Exported conditions

D
double-vector: Internal classes

E
error-code-type: Internal classes

L
libsvm-error: Exported conditions

M
model: Exported classes
model-type: Internal classes

N
node-tclass: Internal classes
normalizer: Exported classes

P
Package, cl-libsvm: The cl-libsvm package
Package, cl-libsvm.system: The cl-libsvm<dot>system package
parameter: Exported classes
parameter-error: Exported conditions
parameter-struct-tclass: Internal classes
parameter-type: Internal classes
problem: Exported classes
problem-struct-tclass: Internal classes
problem-type: Internal classes

S
sparse-index-error: Exported conditions
sparse-vector: Internal classes
sparse-vector-vector: Internal classes
System, cl-libsvm: The cl-libsvm system

T
temporary-sparse-vector: Internal classes

W
wrapper: Internal classes

Jump to:   C   D   E   L   M   N   P   S   T   W