The cl-libsvm Reference Manual

This is the cl-libsvm Reference Manual, version 0.0.7, generated automatically by Declt version 4.0 beta 2 "William Riker" on Wed May 15 04:12:01 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 cl-libsvm

CFFI wrapper for LIBSVM

Author

Gabor Melis

License

MIT

Long Description

CFFI wrapper for LIBSVM, the machine learning library

Version

0.0.7

Dependencies
  • cffi (system).
  • trivial-garbage (system).
Source

cl-libsvm.asd.

Child Components

3 Files

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


3.1 Lisp


3.1.1 cl-libsvm/cl-libsvm.asd

Source

cl-libsvm.asd.

Parent Component

cl-libsvm (system).

ASDF Systems

cl-libsvm.

Packages

cl-libsvm.system.


3.1.2 cl-libsvm/libsvm-package.lisp

Source

cl-libsvm.asd.

Parent Component

cl-libsvm (system).

Packages

cl-libsvm.


3.1.3 cl-libsvm/libsvm.lisp

Dependency

libsvm-package.lisp (file).

Source

cl-libsvm.asd.

Parent Component

cl-libsvm (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 cl-libsvm.system

Source

cl-libsvm.asd.

Use List
  • asdf/interface.
  • common-lisp.

4.2 cl-libsvm

Wrapper for the libsvm support vector machine library.

Source

libsvm-package.lisp.

Nickname

libsvm

Use List
  • cffi.
  • common-lisp.
Public Interface
Internals

5 Definitions

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


5.1 Public Interface


5.1.1 Ordinary 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.

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.

Function: get-labels (model)

Wrapper around svm_get_labels.

Package

cl-libsvm.

Source

libsvm.lisp.

Function: kernel-type (parameter)

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

Package

cl-libsvm.

Source

libsvm.lisp.

Function: load-model (filename)

Load a model from a file.

Package

cl-libsvm.

Source

libsvm.lisp.

Function: load-normalizer (filename)

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

Package

cl-libsvm.

Source

libsvm.lisp.

Function: load-problem (filename)

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

Package

cl-libsvm.

Source

libsvm.lisp.

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.

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.

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.

Function: map-normalized-input (normalizer input function)

Map function over the features in INPUT normalized by NORMALIZER.

Package

cl-libsvm.

Source

libsvm.lisp.

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.

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.

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.

Function: parameter-error (problem parameter explanation)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: predict (model input)

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

Package

cl-libsvm.

Source

libsvm.lisp.

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.

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.

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.

Function: problem-size (problem)

Return the number of targets in PROBLEM.

Package

cl-libsvm.

Source

libsvm.lisp.

Function: problem-target (problem i)

Return the Ith target.

Package

cl-libsvm.

Source

libsvm.lisp.

Function: save-model (model filename)

Save MODEL to FILENAME.

Package

cl-libsvm.

Source

libsvm.lisp.

Function: save-normalizer (normalizer filename)

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

Package

cl-libsvm.

Source

libsvm.lisp.

Function: save-problem (problem filename)

Save PROBLEM to FILENAME in the LIBSVM/SVMLight format.

Package

cl-libsvm.

Source

libsvm.lisp.

Function: svm-type (parameter)

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

Package

cl-libsvm.

Source

libsvm.lisp.

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.

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.


5.1.2 Generic functions

Generic Reader: parameter (condition)
Package

cl-libsvm.

Methods
Reader Method: parameter ((condition parameter-error))
Source

libsvm.lisp.

Target Slot

parameter.

Generic Reader: problem (condition)
Package

cl-libsvm.

Methods
Reader Method: problem ((condition parameter-error))
Source

libsvm.lisp.

Target Slot

problem.


5.1.3 Standalone methods

Method: free-translated-object (value (name temporary-sparse-vector) param)
Package

cffi.

Source

libsvm.lisp.

Method: initialize-instance :after ((wrapper wrapper) &key &allow-other-keys)
Source

libsvm.lisp.

Method: print-object ((problem problem) stream)
Source

libsvm.lisp.

Method: print-object ((parameter parameter) stream)
Source

libsvm.lisp.

Method: translate-from-foreign (pointer (ctype model-type))
Package

cffi.

Source

libsvm.lisp.

Method: translate-from-foreign (error-code (name error-code-type))
Package

cffi.

Source

libsvm.lisp.

Method: translate-from-foreign (pointer (ctype problem-type))
Package

cffi.

Source

libsvm.lisp.

Method: translate-from-foreign (pointer (ctype parameter-type))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((wrapper problem) (ctype problem-type))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((wrapper parameter) (ctype parameter-type))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((wrapper model) (ctype model-type))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((v symbol) (name double-vector))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((v function) (name double-vector))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((v vector) (name double-vector))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((symbol symbol) (name sparse-vector))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((mapper function) (name sparse-vector))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((vector vector) (name sparse-vector))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((v symbol) (name sparse-vector-vector))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((v function) (name sparse-vector-vector))
Package

cffi.

Source

libsvm.lisp.

Method: translate-to-foreign ((v vector) (name sparse-vector-vector))
Package

cffi.

Source

libsvm.lisp.


5.1.4 Conditions

Condition: libsvm-error
Package

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

condition.

Direct subclasses
Condition: parameter-error
Package

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

libsvm-error.

Direct methods
Direct slots
Slot: parameter
Initargs

:parameter

Readers

parameter.

Writers

This slot is read-only.

Slot: problem
Initargs

:problem

Readers

problem.

Writers

This slot is read-only.

Slot: explanation
Initargs

:explanation

Readers

explanation.

Writers

This slot is read-only.

Condition: sparse-index-error
Package

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

libsvm-error.

Direct methods
Direct slots
Slot: index
Initargs

:index

Readers

index.

Writers

This slot is read-only.

Slot: max-index
Initargs

:max-index

Readers

max-index.

Writers

This slot is read-only.


5.1.5 Classes

Class: model
Package

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

wrapper.

Direct methods
Class: normalizer

Normalizers offer basically the same functionality as svm-scale.

Package

cl-libsvm.

Source

libsvm.lisp.

Direct methods
Direct slots
Slot: lower
Initargs

:lower

Readers

lower.

Writers

This slot is read-only.

Slot: upper
Initargs

:upper

Readers

upper.

Writers

This slot is read-only.

Slot: min-maxes
Initargs

:min-maxes

Readers

min-maxes.

Writers

This slot is read-only.

Class: parameter
Package

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

wrapper.

Direct methods
Class: problem
Package

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

wrapper.

Direct methods

5.2 Internals


5.2.1 Special variables

Special Variable: *libsvm-dir*
Package

cl-libsvm.

Source

libsvm.lisp.

Special Variable: *libsvm-lib-dir*
Package

cl-libsvm.

Source

libsvm.lisp.

Special Variable: *wrappers*

An address to wrapper map.

Package

cl-libsvm.

Source

libsvm.lisp.


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.

Macro: define-wrapped-pointer (ctype class)
Package

cl-libsvm.

Source

libsvm.lisp.


5.2.3 Ordinary functions

Function: %check-parameter (problem parameter)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: %destroy-model-v2 (model)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: %destroy-model-v3 (model)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: %get-labels (model labels)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: %load-model (filename)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: %predict-probability (model input probabilities)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: %predict-values (model input decision-values)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: %save-model (filename model)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: %svm_get_model_w2 (model)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: %train (problem parameter)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: convert-to-double (x)
Package

cl-libsvm.

Source

libsvm.lisp.

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.

Function: map-input (function sequence-or-mapper)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: map-it (function sequence-or-mapper)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: map-sparse-vector (function vector)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: mapper-length (mapper)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: model-parameter (model)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: read-normalizer (stream)

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

Package

cl-libsvm.

Source

libsvm.lisp.

Function: symmetric-upper-half-index (row col n)
Package

cl-libsvm.

Source

libsvm.lisp.

Function: test ()
Package

cl-libsvm.

Source

libsvm.lisp.

Function: test-normalizer ()
Package

cl-libsvm.

Source

libsvm.lisp.

Function: test-predict-probabilities ()
Package

cl-libsvm.

Source

libsvm.lisp.

Function: test-predict-values ()
Package

cl-libsvm.

Source

libsvm.lisp.

Function: test-problem ()
Package

cl-libsvm.

Source

libsvm.lisp.

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.

Function: write-normalizer (normalizer stream)

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

Package

cl-libsvm.

Source

libsvm.lisp.

Function: ~= (x y &optional tolerance)
Package

cl-libsvm.

Source

libsvm.lisp.


5.2.4 Generic functions

Generic Function: convert-vector (object ctype)
Package

cl-libsvm.

Source

libsvm.lisp.

Methods
Method: convert-vector ((vector vector) ctype)
Method: convert-vector ((mapper function) ctype)
Method: convert-vector ((symbol symbol) ctype)
Generic Reader: ctype (object)
Package

cl-libsvm.

Methods
Reader Method: ctype ((wrapper wrapper))

The foreign type of POINTER.

Source

libsvm.lisp.

Target Slot

ctype.

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.

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.

Methods
Method: destroy-wrapped-pointer (model (ctype model))
Method: destroy-wrapped-pointer (problem (ctype problem-type))
Method: destroy-wrapped-pointer (pointer ctype)
Generic Reader: explanation (condition)
Package

cl-libsvm.

Methods
Reader Method: explanation ((condition parameter-error))
Source

libsvm.lisp.

Target Slot

explanation.

Generic Reader: index (condition)
Package

cl-libsvm.

Methods
Reader Method: index ((condition sparse-index-error))
Source

libsvm.lisp.

Target Slot

index.

Generic Reader: lower (object)
Package

cl-libsvm.

Methods
Reader Method: lower ((normalizer normalizer))

automatically generated reader method

Source

libsvm.lisp.

Target Slot

lower.

Generic Reader: max-index (condition)
Package

cl-libsvm.

Methods
Reader Method: max-index ((condition sparse-index-error))
Source

libsvm.lisp.

Target Slot

max-index.

Generic Reader: min-maxes (object)
Package

cl-libsvm.

Methods
Reader Method: min-maxes ((normalizer normalizer))

automatically generated reader method

Source

libsvm.lisp.

Target Slot

min-maxes.

Generic Reader: pointer (object)
Package

cl-libsvm.

Methods
Reader Method: pointer ((wrapper wrapper))

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

Source

libsvm.lisp.

Target Slot

pointer.

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.

Methods
Method: reachable-objects (pointer ctype)
Generic Reader: references (object)
Generic Writer: (setf references) (object)
Package

cl-libsvm.

Methods
Reader Method: references ((wrapper wrapper))
Writer Method: (setf references) ((wrapper wrapper))

A list of lisp objects reachable from POINTER.

Source

libsvm.lisp.

Target Slot

references.

Generic Reader: upper (object)
Package

cl-libsvm.

Methods
Reader Method: upper ((normalizer normalizer))

automatically generated reader method

Source

libsvm.lisp.

Target Slot

upper.

Generic Function: wrap (pointer ctype)
Package

cl-libsvm.

Source

libsvm.lisp.

Methods
Method: wrap (pointer ctype)

5.2.5 Classes

Class: double-vector
Package

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

enhanced-foreign-type.

Direct methods
Direct Default Initargs
InitargValue
:actual-type(quote (pointer))
Class: error-code-type
Package

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

enhanced-foreign-type.

Direct methods

translate-from-foreign.

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.

Direct superclasses

enhanced-foreign-type.

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

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: parameter-struct-tclass
Package

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
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.

Direct superclasses

enhanced-foreign-type.

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

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
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.

Direct superclasses

enhanced-foreign-type.

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

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

enhanced-foreign-type.

Direct subclasses

temporary-sparse-vector.

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

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

enhanced-foreign-type.

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

cl-libsvm.

Source

libsvm.lisp.

Direct superclasses

sparse-vector.

Direct methods

free-translated-object.

Class: wrapper
Package

cl-libsvm.

Source

libsvm.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: pointer

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

Initargs

:pointer

Readers

pointer.

Writers

This slot is read-only.

Slot: ctype

The foreign type of POINTER.

Initargs

:ctype

Readers

ctype.

Writers

This slot is read-only.

Slot: references

A list of lisp objects reachable from POINTER.

Initargs

:references

Readers

references.

Writers

(setf references).


Appendix A Indexes


A.1 Concepts


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: Private ordinary functions
%destroy-model-v2: Private ordinary functions
%destroy-model-v3: Private ordinary functions
%get-labels: Private ordinary functions
%load-model: Private ordinary functions
%predict-probability: Private ordinary functions
%predict-values: Private ordinary functions
%save-model: Private ordinary functions
%svm_get_model_w2: Private ordinary functions
%train: Private ordinary functions

(
(setf references): Private generic functions
(setf references): Private generic functions

~
~=: Private ordinary functions

C
check-parameter: Public ordinary functions
convert-to-double: Private ordinary functions
convert-vector: Private generic functions
convert-vector: Private generic functions
convert-vector: Private generic functions
convert-vector: Private generic functions
ctype: Private generic functions
ctype: Private generic functions
ctype->wrapper-class: Private generic functions
ctype->wrapper-class: Private generic functions
ctype->wrapper-class: Private generic functions
ctype->wrapper-class: Private generic functions
ctype->wrapper-class: Private generic functions

D
define-slot-reader: Private macros
define-wrapped-pointer: Private macros
destroy-wrapped-pointer: Private generic functions
destroy-wrapped-pointer: Private generic functions
destroy-wrapped-pointer: Private generic functions
destroy-wrapped-pointer: Private generic functions
distances-from-hyperplane: Public ordinary functions

E
explanation: Private generic functions
explanation: Private generic functions

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

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

I
index: Private generic functions
index: Private generic functions
initialize-instance: Public standalone methods

K
kernel-type: Public ordinary functions

L
load-model: Public ordinary functions
load-normalizer: Public ordinary functions
load-problem: Public ordinary functions
lower: Private generic functions
lower: Private generic functions

M
Macro, define-slot-reader: Private macros
Macro, define-wrapped-pointer: Private macros
make-normalizer: Public ordinary functions
make-parameter: Public ordinary functions
make-problem: Public ordinary functions
map-input: Private ordinary functions
map-it: Private ordinary functions
map-normalized-input: Public ordinary functions
map-problem-input: Public ordinary functions
map-sparse-vector: Private ordinary functions
mapper-length: Private ordinary functions
max-index: Private generic functions
max-index: Private generic functions
Method, (setf references): Private generic functions
Method, convert-vector: Private generic functions
Method, convert-vector: Private generic functions
Method, convert-vector: Private generic functions
Method, ctype: Private generic functions
Method, ctype->wrapper-class: Private generic functions
Method, ctype->wrapper-class: Private generic functions
Method, ctype->wrapper-class: Private generic functions
Method, ctype->wrapper-class: Private generic functions
Method, destroy-wrapped-pointer: Private generic functions
Method, destroy-wrapped-pointer: Private generic functions
Method, destroy-wrapped-pointer: Private generic functions
Method, explanation: Private generic functions
Method, free-translated-object: Public standalone methods
Method, index: Private generic functions
Method, initialize-instance: Public standalone methods
Method, lower: Private generic functions
Method, max-index: Private generic functions
Method, min-maxes: Private generic functions
Method, parameter: Public generic functions
Method, pointer: Private generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, problem: Public generic functions
Method, reachable-objects: Private generic functions
Method, references: Private generic functions
Method, translate-from-foreign: Public standalone methods
Method, translate-from-foreign: Public standalone methods
Method, translate-from-foreign: Public standalone methods
Method, translate-from-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, translate-to-foreign: Public standalone methods
Method, upper: Private generic functions
Method, wrap: Private generic functions
min-maxes: Private generic functions
min-maxes: Private generic functions
model-parameter: Private ordinary functions
model-w2s: Public ordinary functions

N
n-classes: Public ordinary functions

P
parameter: Public generic functions
parameter: Public generic functions
parameter-error: Public ordinary functions
pointer: Private generic functions
pointer: Private generic functions
predict: Public ordinary functions
predict-distances: Public ordinary functions
predict-probabilities: Public ordinary functions
predict-values: Public ordinary functions
print-object: Public standalone methods
print-object: Public standalone methods
problem: Public generic functions
problem: Public generic functions
problem-size: Public ordinary functions
problem-target: Public ordinary functions

R
reachable-objects: Private generic functions
reachable-objects: Private generic functions
read-normalizer: Private ordinary functions
references: Private generic functions
references: Private generic functions

S
save-model: Public ordinary functions
save-normalizer: Public ordinary functions
save-problem: Public ordinary functions
svm-type: Public ordinary functions
symmetric-upper-half-index: Private ordinary functions

T
test: Private ordinary functions
test-normalizer: Private ordinary functions
test-predict-probabilities: Private ordinary functions
test-predict-values: Private ordinary functions
test-problem: Private ordinary functions
train: Public ordinary functions
translate-from-foreign: Public standalone methods
translate-from-foreign: Public standalone methods
translate-from-foreign: Public standalone methods
translate-from-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods
translate-to-foreign: Public standalone methods

U
upper: Private generic functions
upper: Private generic functions
upper-half-index: Private ordinary functions

V
value-for-subsvm: Public ordinary functions

W
wrap: Private generic functions
wrap: Private generic functions
write-normalizer: Private ordinary functions


A.4 Data types

Jump to:   C   D   E   F   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.asd: The cl-libsvm/cl-libsvm․asd file
cl-libsvm.system: The cl-libsvm․system package
Class, double-vector: Private classes
Class, error-code-type: Private classes
Class, model: Public classes
Class, model-type: Private classes
Class, node-tclass: Private classes
Class, normalizer: Public classes
Class, parameter: Public classes
Class, parameter-struct-tclass: Private classes
Class, parameter-type: Private classes
Class, problem: Public classes
Class, problem-struct-tclass: Private classes
Class, problem-type: Private classes
Class, sparse-vector: Private classes
Class, sparse-vector-vector: Private classes
Class, temporary-sparse-vector: Private classes
Class, wrapper: Private classes
Condition, libsvm-error: Public conditions
Condition, parameter-error: Public conditions
Condition, sparse-index-error: Public conditions

D
double-vector: Private classes

E
error-code-type: Private classes

F
File, cl-libsvm.asd: The cl-libsvm/cl-libsvm․asd file
File, libsvm-package.lisp: The cl-libsvm/libsvm-package․lisp file
File, libsvm.lisp: The cl-libsvm/libsvm․lisp file

L
libsvm-error: Public conditions
libsvm-package.lisp: The cl-libsvm/libsvm-package․lisp file
libsvm.lisp: The cl-libsvm/libsvm․lisp file

M
model: Public classes
model-type: Private classes

N
node-tclass: Private classes
normalizer: Public classes

P
Package, cl-libsvm: The cl-libsvm package
Package, cl-libsvm.system: The cl-libsvm․system package
parameter: Public classes
parameter-error: Public conditions
parameter-struct-tclass: Private classes
parameter-type: Private classes
problem: Public classes
problem-struct-tclass: Private classes
problem-type: Private classes

S
sparse-index-error: Public conditions
sparse-vector: Private classes
sparse-vector-vector: Private classes
System, cl-libsvm: The cl-libsvm system

T
temporary-sparse-vector: Private classes

W
wrapper: Private classes