The clusters Reference Manual

Table of Contents

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

The clusters Reference Manual

This is the clusters Reference Manual, version 1.0.0, generated automatically by Declt version 3.0 "Montgomery Scott" on Sun May 15 04:27:16 2022 GMT+0.


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

1 Introduction

clusters

Variety of clustering tools for the Common Lisp

Distances

Package clusters.distance presentes distance functions, intended for use in clustering algorithms. This includes:

Metrics

Package clusters.metric also presents functions intended for use in clustering algorithms, However, these functions also happen to be true metrics.

Clustering algorithms

Each clustering algorithm has its own package exporting PARAMETERS symbol. This symbol names the class used to hold the algorithm parameters. To use the algorithm, first construct instance of this class, then call CLUSTER function passing the PARAMETERS instance into it along with the DATA. The returned object contains the clusters, and they can be extracted using the CLUSTER-CONTENTS function. The following example has been taken from the tests.

(defun metric (a b)
  (coerce (abs (- a b))
          'single-float))

(let* ((data (~> (concatenate 'vector
                              (iota 100 :start 0)
                              (iota 300 :start 500)
                              (iota 100 :start 200))
                 shuffle))
       (parameters (make-instance 'clusters.clarans:parameters
                                  :parallelp nil
                                  :medoids-count 10
                                  :max-neighbor 200
                                  :distance-function #'metric))
       (clusters (clusters:cluster parameters data))
       (cluster-contents (clusters:cluster-contents clusters)))
    ...)

All PARAMETERS classes contain slots intended bootsrapping silhouette values for the clusters. To obtain the silhouette value from the clustering results simply call the CLUSTERS:SILHOUETTE function. This is particulary useful if you are attempting to find the optimal number of clusters.

PARALLELP

Majority of the algorithms in this system have rudementary parallelization, made with the ever so useful LPARALLEL library. Please notice, that this means that (unless you are certain that NIL has been passed as :PARALLELP value) you must avoid calling CLUSTER on the LPARALLEL worker thread. Otherwise: deadlocks.

Silhouette

You can use clusters:silhouette to obtain silhouette values for each of the constructed clusters.


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 clusters

Maintainer

Marek Kochanowicz

Author

Marek Kochanowicz

License

BSD simplified

Description

Cluster algorithms in CL, for CL.

Version

1.0.0

Dependencies
Source

clusters.asd (file)

Components

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

3 Modules

Modules are listed depth-first from the system components tree.


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

3.1 clusters/utils

Dependency

aux-package.lisp (file)

Parent

clusters (system)

Location

utils/

Components

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

3.2 clusters/metric

Dependency

utils (module)

Parent

clusters (system)

Location

metric/

Components

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

3.3 clusters/distance

Dependency

metric (module)

Parent

clusters (system)

Location

distance/

Components

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

3.4 clusters/common

Dependency

distance (module)

Parent

clusters (system)

Location

common/

Components

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

3.5 clusters/pam

Dependency

common (module)

Parent

clusters (system)

Location

pam/

Components

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

3.6 clusters/clarans

Dependency

pam (module)

Parent

clusters (system)

Location

clarans/

Components

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

3.7 clusters/k-means

Dependency

clarans (module)

Parent

clusters (system)

Location

k-means/

Components

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

4 Files

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


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

4.1 Lisp


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

4.1.1 clusters.asd

Location

/home/quickref/quicklisp/dists/quicklisp/software/clusters-20220331-git/clusters.asd

Systems

clusters (system)


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

4.1.2 clusters/aux-package.lisp

Parent

clusters (system)

Location

aux-package.lisp

Packages
Exported Definitions

defpackage (macro)


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

4.1.3 clusters/utils/package.lisp

Parent

utils (module)

Location

utils/package.lisp

Packages

clusters.utils


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

4.1.4 clusters/utils/maps.lisp

Parent

utils (module)

Location

utils/maps.lisp

Exported Definitions

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

4.1.5 clusters/utils/matrix.lisp

Parent

utils (module)

Location

utils/matrix.lisp

Exported Definitions
Internal Definitions

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

4.1.6 clusters/utils/random.lisp

Parent

utils (module)

Location

utils/random.lisp

Exported Definitions

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

4.1.7 clusters/utils/utils.lisp

Parent

utils (module)

Location

utils/utils.lisp

Exported Definitions

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

4.1.8 clusters/utils/partition.lisp

Parent

utils (module)

Location

utils/partition.lisp

Exported Definitions

seed (function)


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

4.1.9 clusters/metric/package.lisp

Parent

metric (module)

Location

metric/package.lisp

Packages

clusters.metric


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

4.1.10 clusters/metric/docstrings.lisp

Parent

metric (module)

Location

metric/docstrings.lisp


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

4.1.11 clusters/metric/euclid.lisp

Parent

metric (module)

Location

metric/euclid.lisp

Exported Definitions

euclid (function)


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

4.1.12 clusters/metric/svr.lisp

Parent

metric (module)

Location

metric/svr.lisp

Exported Definitions

svr (function)

Internal Definitions

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

4.1.13 clusters/metric/levenshtein.lisp

Parent

metric (module)

Location

metric/levenshtein.lisp

Exported Definitions

levenshtein (function)


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

4.1.14 clusters/metric/lcs.lisp

Parent

metric (module)

Location

metric/lcs.lisp

Exported Definitions

lcs (function)


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

4.1.15 clusters/metric/hellinger.lisp

Parent

metric (module)

Location

metric/hellinger.lisp

Exported Definitions

hellinger (function)

Internal Definitions

+sqrt2+ (constant)


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

4.1.16 clusters/metric/earth-mover.lisp

Parent

metric (module)

Location

metric/earth-mover.lisp

Internal Definitions

earth-mover-metric (function)


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

4.1.17 clusters/metric/average.lisp

Parent

metric (module)

Location

metric/average.lisp

Exported Definitions

average (function)


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

4.1.18 clusters/metric/group-average.lisp

Parent

metric (module)

Location

metric/group-average.lisp

Exported Definitions

group-average (function)


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

4.1.19 clusters/metric/hausdorff.lisp

Parent

metric (module)

Location

metric/hausdorff.lisp

Exported Definitions

hausdorff (function)


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

4.1.20 clusters/distance/package.lisp

Parent

distance (module)

Location

distance/package.lisp

Packages

clusters.distance


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

4.1.21 clusters/distance/docstrings.lisp

Parent

distance (module)

Location

distance/docstrings.lisp


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

4.1.22 clusters/distance/bhattacharyya.lisp

Parent

distance (module)

Location

distance/bhattacharyya.lisp

Exported Definitions

bhattacharyya (function)


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

4.1.23 clusters/distance/sinkhorn.lisp

Parent

distance (module)

Location

distance/sinkhorn.lisp

Exported Definitions

sinkhorn (function)

Internal Definitions

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

4.1.24 clusters/common/package.lisp

Parent

common (module)

Location

common/package.lisp

Packages

clusters


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

4.1.25 clusters/common/generics.lisp

Parent

common (module)

Location

common/generics.lisp

Exported Definitions
Internal Definitions

parallel-p (generic function)


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

4.1.26 clusters/common/types.lisp

Parent

common (module)

Location

common/types.lisp

Exported Definitions
Internal Definitions

parameters-holder (class)


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

4.1.27 clusters/common/utils.lisp

Parent

common (module)

Location

common/utils.lisp

Internal Definitions

cluster-values (function)


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

4.1.28 clusters/common/functions.lisp

Parent

common (module)

Location

common/functions.lisp

Exported Definitions

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

4.1.29 clusters/common/silhouette.lisp

Parent

common (module)

Location

common/silhouette.lisp

Exported Definitions

silhouette (method)

Internal Definitions

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

4.1.30 clusters/common/methods.lisp

Parent

common (module)

Location

common/methods.lisp

Exported Definitions

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

4.1.31 clusters/pam/package.lisp

Parent

pam (module)

Location

pam/package.lisp

Packages

clusters.pam


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

4.1.32 clusters/pam/generics.lisp

Parent

pam (module)

Location

pam/generics.lisp


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

4.1.33 clusters/pam/types.lisp

Parent

pam (module)

Location

pam/types.lisp

Exported Definitions

parameters (class)

Internal Definitions

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

4.1.34 clusters/pam/utils.lisp

Parent

pam (module)

Location

pam/utils.lisp

Internal Definitions

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

4.1.35 clusters/pam/methods.lisp

Parent

pam (module)

Location

pam/methods.lisp

Exported Definitions
Internal Definitions

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

4.1.36 clusters/clarans/package.lisp

Parent

clarans (module)

Location

clarans/package.lisp

Packages

clusters.clarans


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

4.1.37 clusters/clarans/generics.lisp

Parent

clarans (module)

Location

clarans/generics.lisp

Internal Definitions

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

4.1.38 clusters/clarans/types.lisp

Parent

clarans (module)

Location

clarans/types.lisp

Exported Definitions
Internal Definitions

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

4.1.39 clusters/clarans/utils.lisp

Parent

clarans (module)

Location

clarans/utils.lisp

Internal Definitions

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

4.1.40 clusters/clarans/methods.lisp

Parent

clarans (module)

Location

clarans/methods.lisp

Exported Definitions
Internal Definitions

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

4.1.41 clusters/k-means/package.lisp

Parent

k-means (module)

Location

k-means/package.lisp

Packages

clusters.k-means


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

4.1.42 clusters/k-means/types.lisp

Parent

k-means (module)

Location

k-means/types.lisp

Exported Definitions

parameters (class)

Internal Definitions

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

4.1.43 clusters/k-means/utils.lisp

Parent

k-means (module)

Location

k-means/utils.lisp

Internal Definitions

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

4.1.44 clusters/k-means/methods.lisp

Parent

k-means (module)

Location

k-means/methods.lisp

Exported Definitions
Internal Definitions

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

5 Packages

Packages are listed by definition order.


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

5.1 clusters.aux-package

Source

aux-package.lisp (file)

Used By List

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

5.2 clusters.fancy

Source

aux-package.lisp (file)

Exported Definitions

defpackage (macro)


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

5.3 clusters.utils

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5.4 clusters.metric

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5.5 clusters.distance

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5.6 clusters

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5.7 clusters.pam

Source

package.lisp (file)

Use List
Exported Definitions

parameters (class)

Internal Definitions

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

5.8 clusters.clarans

Source

package.lisp (file)

Use List
Exported Definitions

parameters (class)

Internal Definitions

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

5.9 clusters.k-means

Source

package.lisp (file)

Use List
Exported Definitions

parameters (class)

Internal Definitions

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

6 Definitions

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


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

6.1 Exported definitions


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

6.1.1 Macros

Macro: defpackage PACKAGE &rest OPTIONS
Package

clusters.fancy

Source

aux-package.lisp (file)


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

6.1.2 Functions

Function: average FN A B &key TEST KEY

Description:
Calculates average distance between two sets, based around the FN metric function

Returns:
Average distance between two sets.

Notes:
–Algorithm described in https://doi.org/10.1007/s13160-012-0089-6
–KEY function is used in conjuction with the TEST function to construct unions and differences between sets. Not for extracting values for the FN itself. This allows FN to operate on the weight, count or other secondary attribute of the set element. –Quadratic time complexity, suitable only for small sets.

Package

clusters.metric

Source

average.lisp (file)

Function: bhattacharyya H1 H2

Arguments:
–H1, Frequency vector representing distribution.
–H2, Frequency vector representing distribution.

Description:
Calculates Bhattacharyya distance between two distributions represented as frequency vector.

Returns:
Bhattacharyya distance as single-float.

Package

clusters.distance

Source

bhattacharyya.lisp (file)

Function: calculate-silhouette RESULT &optional DISTANCE-MATRIX
Package

clusters

Source

functions.lisp (file)

Function: cluster PARAMETERS DATA &rest ARGUMENTS
Package

clusters

Source

functions.lisp (file)

Function: copy-into DESTINATION SOURCE
Package

clusters.utils

Source

utils.lisp (file)

Function: distance-matrix PARALLEL DISTANCE-FUNCTION DATA
Package

clusters.utils

Source

matrix.lisp (file)

Function: draw-random-vector INPUT SIZE &optional RESULT
Package

clusters.utils

Source

random.lisp (file)

Function: euclid A B

Description:
Calculates the Euclid distance between two simple-arrays of single-float

Returns:
Non-negative-single-float distance.

Package

clusters.metric

Source

euclid.lisp (file)

Function: group-average FN A B &key KEY ELEMENT-TYPE DISTANCE-MATRIX
Package

clusters.metric

Source

group-average.lisp (file)

Function: half-matrix-index->square-row/column COUNT INDEX
Package

clusters.utils

Source

matrix.lisp (file)

Function: half-matrix-size->count SIZE
Package

clusters.utils

Source

matrix.lisp (file)

Function: hausdorff FN A B &key KEY ELEMENT-TYPE DISTANCE-MATRIX

Description:
Hausdorff distance. Accepts vectors as arguments.

Package

clusters.metric

Source

hausdorff.lisp (file)

Function: hellinger Q P

Arguments:
–Q, Frequency vector.
–P, Frequency vector.

Description:
Calculates hellinger distance between two distributions, both represented as histograms.

Returns:
Hellinger distance.

Package

clusters.metric

Source

hellinger.lisp (file)

Function: lazy-shuffle FROM TO
Package

clusters.utils

Source

random.lisp (file)

Function: lcs A B &key TEST KEY A-START A-END B-START B-END BASE

Description:
Largest common subsequence metric for vectors.

Package

clusters.metric

Source

lcs.lisp (file)

Function: levenshtein STR1 STR2

Description:
Traditional edit distance for strings.

Package

clusters.metric

Source

levenshtein.lisp (file)

Function: make-algorithm-state PARAMETERS DATA &rest ARGUMENTS
Package

clusters

Source

functions.lisp (file)

Function: make-half-matrix COUNT &rest ALL &key ELEMENT-TYPE INITIAL-ELEMENT INITIAL-CONTENTS
Package

clusters.utils

Source

matrix.lisp (file)

Function: map-into-half-matrix PARALLEL HALF-MATRIX FUNCTION
Package

clusters.utils

Source

matrix.lisp (file)

Function: mref HALF-MATRIX FROM TO &optional COUNT
Function: (setf mref) NEW-VALUE HALF-MATRIX FROM TO &optional COUNT
Package

clusters.utils

Source

matrix.lisp (file)

Function: obtain-result STATE
Package

clusters

Source

functions.lisp (file)

Function: pmap PARALLEL TYPE FUNCTION &rest SEQUENCES
Package

clusters.utils

Source

maps.lisp (file)

Function: pmap-into PARALLEL SEQUENCE FUNCTION &rest SEQUENCES
Package

clusters.utils

Source

maps.lisp (file)

Function: seed DATA INDEXES MEDOIDS Y DISTANCE-FUNCTION
Package

clusters.utils

Source

partition.lisp (file)

Function: sinkhorn COST FIRST-VECTOR SECOND-VECTOR REGULARIZATION-STRENGTH &optional EPSILON
Package

clusters.distance

Source

sinkhorn.lisp (file)

Function: square-row/column->half-matrix-index COUNT J I
Package

clusters.utils

Source

matrix.lisp (file)

Function: svr A B

Arguments:
–A, Vector.
–B, Vector.

Description:
Calculates the subvector representation based metric.

Returns:
Single-float (between 0.0 and 1.0) representing the distance.

Notes:
–Content of a and b vectors must be comparable using EQUAL.
–Algorithm described in https://doi.org/10.1177%2F0049124114540707 –Will return 1.0 if one of the vectors is empty and the second is not empty.

Package

clusters.metric

Source

svr.lisp (file)

Function: swap-if VECTOR TEST &key KEY START END
Package

clusters.utils

Source

utils.lisp (file)

Function: transform PARALLEL FUNCTION SEQUENCE &rest SEQUENCES
Package

clusters.utils

Source

maps.lisp (file)


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

6.1.3 Generic functions

Generic Function: algorithm-state-class PARAMETERS
Package

clusters

Source

generics.lisp (file)

Methods
Method: algorithm-state-class (PARAMETERS parameters)
Source

methods.lisp (file)

Method: algorithm-state-class (PARAMETERS parameters)
Source

methods.lisp (file)

Method: algorithm-state-class (PARAMETERS parameters)
Source

methods.lisp (file)

Generic Function: algorithm-state-initialization-list PARAMETERS DATA &rest ARGUMENTS &key DISTANCE-MATRIX &allow-other-keys
Package

clusters

Source

generics.lisp (file)

Method Combination

append (short method combination)

Options: :most-specific-first

Methods
Method: algorithm-state-initialization-list (PARAMETERS parameters) DATA &rest ALL &key &allow-other-keys append
Source

methods.lisp (file)

Method: algorithm-state-initialization-list (PARAMETERS parameters) DATA &rest ALL &key DISTANCE-MATRIX &allow-other-keys append
Source

methods.lisp (file)

Method: algorithm-state-initialization-list (PARAMETERS parameters) DATA &rest ARGUMENTS &key &allow-other-keys append
Source

methods.lisp (file)

Generic Function: calculate-silhouette* PARAMETERS RESULT &optional DISTANCE-MATRIX
Package

clusters

Source

generics.lisp (file)

Methods
Method: calculate-silhouette* (PARAMETERS parameters) CLUSTERING-RESULT &optional DISTANCE-MATRIX around
Source

methods.lisp (file)

Method: calculate-silhouette* (PARAMETERS parameters) CLUSTERING-RESULT &optional DISTANCE-MATRIX
Source

methods.lisp (file)

Generic Function: cluster-contents RESULT
Package

clusters

Source

generics.lisp (file)

Methods
Method: cluster-contents (RESULT result)
Source

methods.lisp (file)

Generic Function: cluster-indexes RESULT
Package

clusters

Source

generics.lisp (file)

Methods
Method: cluster-indexes (RESULT result)

automatically generated reader method

Source

types.lisp (file)

Generic Function: data RESULT
Generic Function: (setf data) NEW-VALUE ALGORITHM-STATE
Package

clusters

Source

generics.lisp (file)

Methods
Method: data (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: data (RESULT result)

automatically generated reader method

Source

types.lisp (file)

Method: (setf data) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: distance-function INSTANCE
Package

clusters

Methods
Method: distance-function (PARAMETERS parameters)
Source

methods.lisp (file)

Method: distance-function (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: distance-function (INSTANCE parameters-holder)
Source

methods.lisp (file)

Generic Function: indexes ALGORITHM-STATE
Generic Function: (setf indexes) NEW-VALUE ALGORITHM-STATE
Package

clusters

Source

generics.lisp (file)

Methods
Method: indexes (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf indexes) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Method: indexes (RESULT result)

automatically generated reader method

Source

types.lisp (file)

Generic Function: key-function PARAMETERS
Package

clusters

Source

generics.lisp (file)

Methods
Method: key-function (INSTANCE parameters-holder)
Source

methods.lisp (file)

Method: key-function (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: parallelp OBJECT
Package

clusters

Methods
Method: parallelp (INSTANCE parameters-holder)
Source

methods.lisp (file)

Method: parallelp (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: parameters RESULT
Package

clusters

Source

generics.lisp (file)

Methods
Method: parameters (PARAMETERS-HOLDER parameters-holder)

automatically generated reader method

Source

types.lisp (file)

Generic Function: result-class PARAMETERS
Package

clusters

Source

generics.lisp (file)

Methods
Method: result-class (PARAMETERS parameters)
Source

methods.lisp (file)

Method: result-class (STATE algorithm-state)
Source

methods.lisp (file)

Method: result-class (PARAMETERS parameters)
Source

methods.lisp (file)

Generic Function: result-initialization-list STATE
Package

clusters

Source

generics.lisp (file)

Method Combination

append (short method combination)

Options: :most-specific-first

Methods
Method: result-initialization-list (STATE algorithm-state) append
Source

methods.lisp (file)

Method: result-initialization-list (STATE algorithm-state) append
Source

methods.lisp (file)

Method: result-initialization-list (STATE algorithm-state) append
Source

methods.lisp (file)

Method: result-initialization-list (STATE algorithm-state) append
Source

methods.lisp (file)

Generic Function: run-algorithm STATE
Package

clusters

Source

generics.lisp (file)

Methods
Method: run-algorithm (STATE algorithm-state)
Source

methods.lisp (file)

Method: run-algorithm (STATE algorithm-state)
Source

methods.lisp (file)

Method: run-algorithm (STATE algorithm-state)
Source

methods.lisp (file)

Generic Function: silhouette RESULT
Package

clusters

Source

generics.lisp (file)

Methods
Method: silhouette (OBJECT result) before
Source

silhouette.lisp (file)

Method: silhouette (RESULT result)

automatically generated reader method

Source

types.lisp (file)

Generic Function: silhouette-sample-count OBJECT
Package

clusters

Methods
Method: silhouette-sample-count (INSTANCE parameters-holder)
Source

methods.lisp (file)

Method: silhouette-sample-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: silhouette-sample-size OBJECT
Package

clusters

Methods
Method: silhouette-sample-size (INSTANCE parameters-holder)
Source

methods.lisp (file)

Method: silhouette-sample-size (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)


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

6.1.4 Classes

Class: algorithm-state ()
Package

clusters

Source

types.lisp (file)

Direct superclasses

parameters-holder (class)

Direct subclasses
Direct methods
Direct slots
Slot: %data
Initargs

:data

Readers

data (generic function)

Writers

(setf data) (generic function)

Slot: %indexes
Initargs

:indexes

Readers

indexes (generic function)

Writers

(setf indexes) (generic function)

Direct Default Initargs
InitargValue
:data(serapeum:vect)
:indexesnil
Class: parameters ()
Package

clusters

Source

types.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: %parallelp
Initargs

:parallelp

Readers

parallelp (generic function)

Slot: %key-function
Initargs

:key-function

Readers

key-function (generic function)

Slot: %silhouette-sample-count
Initargs

:silhouette-sample-count

Readers

silhouette-sample-count (generic function)

Slot: %silhouette-sample-size
Initargs

:silhouette-sample-size

Readers

silhouette-sample-size (generic function)

Direct Default Initargs
InitargValue
:key-function(function identity)
:parallelpnil
:silhouette-sample-count15
:silhouette-sample-size500
Class: parameters ()
Package

clusters.pam

Source

types.lisp (file)

Direct superclasses

parameters (class)

Direct methods
Direct slots
Slot: %split-threshold
Initargs

:split-threshold

Readers
Writers

(setf split-threshold) (generic function)

Slot: %merge-threshold
Initargs

:merge-threshold

Readers
Writers

(setf merge-threshold) (generic function)

Slot: %select-medoids-attempts-count
Initargs

:select-medoids-attempts-count

Readers
Writers

(setf select-medoids-attempts-count) (generic function)

Slot: %split-merge-attempts-count
Initargs

:split-merge-attempts-count

Readers
Writers

(setf split-merge-attempts-count) (generic function)

Slot: %medoids-count
Initargs

:medoids-count

Readers
Writers

(setf medoids-count) (generic function)

Direct Default Initargs
InitargValue
:split-thresholdnil
:merge-thresholdnil
:select-medoids-attempts-count20
:split-merge-attempts-count0
Class: parameters ()
Package

clusters.clarans

Source

types.lisp (file)

Direct superclasses

parameters (class)

Direct methods
Direct slots
Slot: %distance-function
Initargs

:distance-function

Readers
Writers

(setf distance-function) (generic function)

Slot: %max-neighbor
Initargs

:max-neighbor

Readers

max-neighbor (generic function)

Writers

(setf max-neighbor) (generic function)

Slot: %medoids-count
Initargs

:medoids-count

Readers

medoids-count (generic function)

Writers

(setf medoids-count) (generic function)

Class: parameters ()
Package

clusters.k-means

Source

types.lisp (file)

Direct superclasses

parameters (class)

Direct methods
Direct slots
Slot: %medoids-count
Type

alexandria:non-negative-fixnum

Initargs

:medoids-count

Readers
Writers

(setf medoids-count) (generic function)

Slot: %iterations
Initargs

:iterations

Readers
Writers

(setf iterations) (generic function)

Slot: %distortion-epsilon
Type

single-float

Initargs

:distortion-epsilon

Readers
Writers

(setf distortion-epsilon) (generic function)

Direct Default Initargs
InitargValue
:iterationsnil
Class: result ()
Package

clusters

Source

types.lisp (file)

Direct superclasses

parameters-holder (class)

Direct subclasses

pam-result (class)

Direct methods
Direct slots
Slot: %cluster-indexes
Type

vector

Initargs

:cluster-indexes

Readers

cluster-indexes (generic function)

Slot: %indexes
Initargs

:indexes

Readers

indexes (generic function)

Slot: %data
Type

vector

Initargs

:data

Readers

data (generic function)

Slot: %silhouette
Type

(vector single-float)

Initargs

:silhouette

Readers

silhouette (generic function)


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

6.2 Internal definitions


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

6.2.1 Constants

Constant: +sqrt2+
Package

clusters.metric

Source

hellinger.lisp (file)


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

6.2.2 Macros

Macro: with-grid-mapping-resources MAX-LENGTH (&key G1 G2 G3 TO-SUM) &body BODY
Package

clusters.metric

Source

svr.lisp (file)


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

6.2.3 Functions

Function: array-sum ITERATION SUM-SIZE TO-SUM GRID
Package

clusters.metric

Source

svr.lisp (file)

Function: assign-data-points-to-medoids STATE
Package

clusters.k-means

Source

utils.lisp (file)

Function: average-distance-to-element DISTANCE-MATRIX ELEMENT CLUSTER
Package

clusters

Source

silhouette.lisp (file)

Function: build-clusters STATE &optional SPLIT-MERGE
Package

clusters.pam

Source

utils.lisp (file)

Function: choose-effective-medoid STATE CLUSTER
Package

clusters.pam

Source

utils.lisp (file)

Function: choose-effective-medoids STATE
Package

clusters.pam

Source

utils.lisp (file)

Function: choose-initial-medoids STATE
Package

clusters.pam

Source

utils.lisp (file)

Function: clear-cluster-contents STATE
Package

clusters.pam

Source

utils.lisp (file)

Function: clear-unfinished-clusters STATE
Package

clusters.pam

Source

utils.lisp (file)

Function: closest-medoid STATE INDEX
Package

clusters.pam

Source

utils.lisp (file)

Function: cluster-values DATA INDEX-VECTOR
Package

clusters

Source

utils.lisp (file)

Function: column-index K I N
Package

clusters.utils

Source

matrix.lisp (file)

Function: contains MEDOIDS MEDOID
Package

clusters.clarans

Source

utils.lisp (file)

Function: count->half-matrix-size COUNT
Package

clusters.utils

Source

matrix.lisp (file)

Function: count-of-all-possible-subvectors-upto-length LENGTH-OF-VECTOR LENGTH-OF-SUBVECTOR &optional BUFFER
Package

clusters.metric

Source

svr.lisp (file)

Function: distance-matrix RESULT &optional INDEXES
Package

clusters

Source

silhouette.lisp (file)

Function: distortion STATE
Package

clusters.k-means

Source

utils.lisp (file)

Function: earth-mover-metric A B
Package

clusters.metric

Source

earth-mover.lisp (file)

Function: element-in-i-rows I N
Package

clusters.utils

Source

matrix.lisp (file)

Function: fill-reclustering-index-vector STATE INDEXES COUNT-OF-ELIMINATED
Package

clusters.pam

Source

utils.lisp (file)

Function: grid-mapping FIRST-SEQUENCE SECOND-SEQUENCE &optional GRID FIRST-GRID PREV-GRID TO-SUM
Package

clusters.metric

Source

svr.lisp (file)

Function: inter-cluster-distances DISTANCE-MATRIX CLUSTER SAMPLE
Package

clusters

Source

silhouette.lisp (file)

Function: intra-cluster-distances DISTANCE-MATRIX CLUSTER
Package

clusters

Source

silhouette.lisp (file)

Function: max-condition U SUM-ROW N EPSILON
Package

clusters.distance

Source

sinkhorn.lisp (file)

Function: medoidp STATE INDEX
Package

clusters.pam

Source

utils.lisp (file)

Function: order-medoids STATE
Package

clusters.pam

Source

utils.lisp (file)

Function: prepare-reclustering-index-vector STATE
Package

clusters.pam

Source

utils.lisp (file)

Function: random-medoid N MEDOIDS
Package

clusters.clarans

Source

utils.lisp (file)

Function: random-neighbor PARALLELP DATA INDEXES MEDOIDS Y D DISTANCE-FUNCTION
Package

clusters.clarans

Source

utils.lisp (file)

Function: recluster-clusters-of-invalid-size STATE
Package

clusters.pam

Source

utils.lisp (file)

Function: reset OBJECT
Package

clusters.pam

Source

utils.lisp (file)

Function: row-index K N
Package

clusters.utils

Source

matrix.lisp (file)

Function: same-events GRID SEQUENCE-A SEQUENCE-B TO-SUM
Package

clusters.metric

Source

svr.lisp (file)

Function: scan-for-clusters-of-invalid-size STATE
Package

clusters.pam

Source

utils.lisp (file)

Function: select-initial-medoids STATE
Package

clusters.k-means

Source

utils.lisp (file)

Function: select-new-medoids STATE
Package

clusters.k-means

Source

utils.lisp (file)

Function: select-random-cluster-subsets RESULT DISTANCE-MATRIX-SUPPLIED
Package

clusters

Source

silhouette.lisp (file)

Function: sinkhorn-optimal-transport-matrix COST VECTOR-1 VECTOR-2 REGULARIZATION-STRENGTH EPSILON
Package

clusters.distance

Source

sinkhorn.lisp (file)

Function: sum-row U TRANSPORT-MATRIX N M
Package

clusters.distance

Source

sinkhorn.lisp (file)

Function: to-cluster-contents Y INDEXES MEDOIDS-COUNTS
Package

clusters.clarans

Source

utils.lisp (file)

Function: unfinished-clusters-p STATE
Package

clusters.pam

Source

utils.lisp (file)

Function: update-grid A-LENGTH B-LENGTH SUM-SIZE TO-SUM GRID PREV-GRID ITERATION
Package

clusters.metric

Source

svr.lisp (file)


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

6.2.4 Generic functions

Generic Function: access-cluster-contents OBJECT
Generic Function: (setf access-cluster-contents) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: access-cluster-contents (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf access-cluster-contents) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: access-cluster-size OBJECT
Generic Function: (setf access-cluster-size) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: access-cluster-size (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf access-cluster-size) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: access-distance-matrix OBJECT
Generic Function: (setf access-distance-matrix) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: access-distance-matrix (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf access-distance-matrix) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: access-medoids OBJECT
Generic Function: (setf access-medoids) NEW-VALUE OBJECT
Package

clusters.k-means

Methods
Method: access-medoids (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf access-medoids) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: access-medoids-count OBJECT
Generic Function: (setf access-medoids-count) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: access-medoids-count (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf access-medoids-count) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: access-unfinished-clusters OBJECT
Generic Function: (setf access-unfinished-clusters) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: access-unfinished-clusters (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf access-unfinished-clusters) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: assign-data-points-to-medoids STATE
Package

clusters.pam

Methods
Method: assign-data-points-to-medoids STATE
Source

utils.lisp (file)

Generic Function: d STATE
Generic Function: (setf d) NEW-VALUE STATE
Package

clusters.clarans

Source

generics.lisp (file)

Methods
Method: d (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf d) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: distance-function OBJECT
Generic Function: (setf distance-function) NEW-VALUE OBJECT
Package

clusters.clarans

Methods
Method: distance-function (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf distance-function) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: distortion STATE
Generic Function: (setf distortion) NEW-VALUE STATE
Package

clusters.clarans

Source

generics.lisp (file)

Methods
Method: distortion (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf distortion) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: distortion-epsilon OBJECT
Generic Function: (setf distortion-epsilon) NEW-VALUE OBJECT
Package

clusters.k-means

Methods
Method: distortion-epsilon (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf distortion-epsilon) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: iterations OBJECT
Generic Function: (setf iterations) NEW-VALUE OBJECT
Package

clusters.k-means

Methods
Method: iterations (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf iterations) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: max-neighbor OBJECT
Generic Function: (setf max-neighbor) NEW-VALUE OBJECT
Package

clusters.clarans

Methods
Method: max-neighbor (STATE algorithm-state)
Source

methods.lisp (file)

Method: max-neighbor (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf max-neighbor) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: medoids STATE
Generic Function: (setf medoids) NEW-VALUE STATE
Package

clusters.clarans

Source

generics.lisp (file)

Methods
Method: medoids (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf medoids) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)

Generic Function: medoids-count OBJECT
Generic Function: (setf medoids-count) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: medoids-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf medoids-count) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: medoids-count OBJECT
Generic Function: (setf medoids-count) NEW-VALUE OBJECT
Package

clusters.clarans

Methods
Method: medoids-count (STATE algorithm-state)
Source

methods.lisp (file)

Method: medoids-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf medoids-count) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: medoids-count OBJECT
Generic Function: (setf medoids-count) NEW-VALUE OBJECT
Package

clusters.k-means

Methods
Method: medoids-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf medoids-count) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: merge-threshold OBJECT
Generic Function: (setf merge-threshold) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: merge-threshold (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf merge-threshold) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: parallel-p PARAMETERS
Package

clusters

Source

generics.lisp (file)

Generic Function: read-clusters OBJECT
Package

clusters.k-means

Methods
Method: read-clusters (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Generic Function: read-distance-matrix OBJECT
Package

clusters.pam

Methods
Method: read-distance-matrix (PAM-RESULT pam-result)

automatically generated reader method

Source

types.lisp (file)

Generic Function: read-distortion-epsilon OBJECT
Package

clusters.k-means

Methods
Method: read-distortion-epsilon (STATE algorithm-state)
Source

methods.lisp (file)

Method: read-distortion-epsilon (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: read-iterations OBJECT
Package

clusters.k-means

Methods
Method: read-iterations (STATE algorithm-state)
Source

methods.lisp (file)

Method: read-iterations (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: read-medoids-count OBJECT
Package

clusters.pam

Methods
Method: read-medoids-count (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: read-medoids-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: read-medoids-count OBJECT
Package

clusters.k-means

Methods
Method: read-medoids-count (STATE algorithm-state)
Source

methods.lisp (file)

Method: read-medoids-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: read-merge-threshold OBJECT
Package

clusters.pam

Methods
Method: read-merge-threshold (ALGORITHM-STATE algorithm-state)
Source

methods.lisp (file)

Method: read-merge-threshold (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: read-select-medoids-attempts-count OBJECT
Package

clusters.pam

Methods
Method: read-select-medoids-attempts-count (ALGORITHM-STATE algorithm-state)
Source

methods.lisp (file)

Method: read-select-medoids-attempts-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: read-split-merge-attempts-count OBJECT
Package

clusters.pam

Methods
Method: read-split-merge-attempts-count (ALGORITHM-STATE algorithm-state)
Source

methods.lisp (file)

Method: read-split-merge-attempts-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: read-split-threshold OBJECT
Package

clusters.pam

Methods
Method: read-split-threshold (ALGORITHM-STATE algorithm-state)
Source

methods.lisp (file)

Method: read-split-threshold (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Generic Function: select-medoids-attempts-count OBJECT
Generic Function: (setf select-medoids-attempts-count) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: select-medoids-attempts-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf select-medoids-attempts-count) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: split-merge-attempts-count OBJECT
Generic Function: (setf split-merge-attempts-count) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: split-merge-attempts-count (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf split-merge-attempts-count) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: split-threshold OBJECT
Generic Function: (setf split-threshold) NEW-VALUE OBJECT
Package

clusters.pam

Methods
Method: split-threshold (PARAMETERS parameters)

automatically generated reader method

Source

types.lisp (file)

Method: (setf split-threshold) NEW-VALUE (PARAMETERS parameters)

automatically generated writer method

Source

types.lisp (file)

Generic Function: y STATE
Generic Function: (setf y) NEW-VALUE STATE
Package

clusters.clarans

Source

generics.lisp (file)

Methods
Method: y (ALGORITHM-STATE algorithm-state)

automatically generated reader method

Source

types.lisp (file)

Method: (setf y) NEW-VALUE (ALGORITHM-STATE algorithm-state)

automatically generated writer method

Source

types.lisp (file)


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

6.2.5 Classes

Class: algorithm-state ()
Package

clusters.pam

Source

types.lisp (file)

Direct superclasses

algorithm-state (class)

Direct methods
Direct slots
Slot: %cluster-contents
Initargs

:cluster-contents

Readers

access-cluster-contents (generic function)

Writers

(setf access-cluster-contents) (generic function)

Slot: %medoids-count
Initargs

:medoids-count

Readers
Writers

(setf access-medoids-count) (generic function)

Slot: %unfinished-clusters
Initargs

:unfinished-clusters

Readers

access-unfinished-clusters (generic function)

Writers

(setf access-unfinished-clusters) (generic function)

Slot: %distance-matrix
Initargs

:distance-matrix

Readers

access-distance-matrix (generic function)

Writers

(setf access-distance-matrix) (generic function)

Slot: %cluster-size
Initargs

:cluster-size

Readers

access-cluster-size (generic function)

Writers

(setf access-cluster-size) (generic function)

Direct Default Initargs
InitargValue
:cluster-contentsnil
:medoids-countnil
:cluster-sizenil
:distance-matrixnil
:unfinished-clustersnil
Class: algorithm-state ()
Package

clusters.clarans

Source

types.lisp (file)

Direct superclasses

algorithm-state (class)

Direct methods
Direct slots
Slot: %y
Initargs

:y

Readers

y (generic function)

Writers

(setf y) (generic function)

Slot: %medoids
Initargs

:medoids

Readers

medoids (generic function)

Writers

(setf medoids) (generic function)

Slot: %distortion
Initargs

:distortion

Readers

distortion (generic function)

Writers

(setf distortion) (generic function)

Slot: %d
Initargs

:d

Readers

d (generic function)

Writers

(setf d) (generic function)

Direct Default Initargs
InitargValue
:ynil
:medoidsnil
:distortionnil
:dnil
Class: algorithm-state ()
Package

clusters.k-means

Source

types.lisp (file)

Direct superclasses

algorithm-state (class)

Direct methods
Direct slots
Slot: %clusters
Type

vector

Initargs

:clusters

Readers

read-clusters (generic function)

Slot: %medoids
Type

vector

Initargs

:medoids

Readers

access-medoids (generic function)

Writers

(setf access-medoids) (generic function)

Direct Default Initargs
InitargValue
:clusters(serapeum:vect)
:medoids(serapeum:vect)
Class: pam-result ()
Package

clusters.pam

Source

types.lisp (file)

Direct superclasses

result (class)

Direct methods

read-distance-matrix (method)

Direct slots
Slot: %distance-matrix
Initargs

:distance-matrix

Readers

read-distance-matrix (generic function)

Class: parameters-holder ()
Package

clusters

Source

types.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: %parameters
Initargs

:parameters

Readers

parameters (generic function)


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

6.2.6 Types

Type: index-array ()
Package

clusters.clarans

Source

types.lisp (file)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   C   F   L   M  
Index Entry  Section

C
clusters.asd: The clusters․asd file
clusters/aux-package.lisp: The clusters/aux-package․lisp file
clusters/clarans: The clusters/clarans module
clusters/clarans/generics.lisp: The clusters/clarans/generics․lisp file
clusters/clarans/methods.lisp: The clusters/clarans/methods․lisp file
clusters/clarans/package.lisp: The clusters/clarans/package․lisp file
clusters/clarans/types.lisp: The clusters/clarans/types․lisp file
clusters/clarans/utils.lisp: The clusters/clarans/utils․lisp file
clusters/common: The clusters/common module
clusters/common/functions.lisp: The clusters/common/functions․lisp file
clusters/common/generics.lisp: The clusters/common/generics․lisp file
clusters/common/methods.lisp: The clusters/common/methods․lisp file
clusters/common/package.lisp: The clusters/common/package․lisp file
clusters/common/silhouette.lisp: The clusters/common/silhouette․lisp file
clusters/common/types.lisp: The clusters/common/types․lisp file
clusters/common/utils.lisp: The clusters/common/utils․lisp file
clusters/distance: The clusters/distance module
clusters/distance/bhattacharyya.lisp: The clusters/distance/bhattacharyya․lisp file
clusters/distance/docstrings.lisp: The clusters/distance/docstrings․lisp file
clusters/distance/package.lisp: The clusters/distance/package․lisp file
clusters/distance/sinkhorn.lisp: The clusters/distance/sinkhorn․lisp file
clusters/k-means: The clusters/k-means module
clusters/k-means/methods.lisp: The clusters/k-means/methods․lisp file
clusters/k-means/package.lisp: The clusters/k-means/package․lisp file
clusters/k-means/types.lisp: The clusters/k-means/types․lisp file
clusters/k-means/utils.lisp: The clusters/k-means/utils․lisp file
clusters/metric: The clusters/metric module
clusters/metric/average.lisp: The clusters/metric/average․lisp file
clusters/metric/docstrings.lisp: The clusters/metric/docstrings․lisp file
clusters/metric/earth-mover.lisp: The clusters/metric/earth-mover․lisp file
clusters/metric/euclid.lisp: The clusters/metric/euclid․lisp file
clusters/metric/group-average.lisp: The clusters/metric/group-average․lisp file
clusters/metric/hausdorff.lisp: The clusters/metric/hausdorff․lisp file
clusters/metric/hellinger.lisp: The clusters/metric/hellinger․lisp file
clusters/metric/lcs.lisp: The clusters/metric/lcs․lisp file
clusters/metric/levenshtein.lisp: The clusters/metric/levenshtein․lisp file
clusters/metric/package.lisp: The clusters/metric/package․lisp file
clusters/metric/svr.lisp: The clusters/metric/svr․lisp file
clusters/pam: The clusters/pam module
clusters/pam/generics.lisp: The clusters/pam/generics․lisp file
clusters/pam/methods.lisp: The clusters/pam/methods․lisp file
clusters/pam/package.lisp: The clusters/pam/package․lisp file
clusters/pam/types.lisp: The clusters/pam/types․lisp file
clusters/pam/utils.lisp: The clusters/pam/utils․lisp file
clusters/utils: The clusters/utils module
clusters/utils/maps.lisp: The clusters/utils/maps․lisp file
clusters/utils/matrix.lisp: The clusters/utils/matrix․lisp file
clusters/utils/package.lisp: The clusters/utils/package․lisp file
clusters/utils/partition.lisp: The clusters/utils/partition․lisp file
clusters/utils/random.lisp: The clusters/utils/random․lisp file
clusters/utils/utils.lisp: The clusters/utils/utils․lisp file

F
File, Lisp, clusters.asd: The clusters․asd file
File, Lisp, clusters/aux-package.lisp: The clusters/aux-package․lisp file
File, Lisp, clusters/clarans/generics.lisp: The clusters/clarans/generics․lisp file
File, Lisp, clusters/clarans/methods.lisp: The clusters/clarans/methods․lisp file
File, Lisp, clusters/clarans/package.lisp: The clusters/clarans/package․lisp file
File, Lisp, clusters/clarans/types.lisp: The clusters/clarans/types․lisp file
File, Lisp, clusters/clarans/utils.lisp: The clusters/clarans/utils․lisp file
File, Lisp, clusters/common/functions.lisp: The clusters/common/functions․lisp file
File, Lisp, clusters/common/generics.lisp: The clusters/common/generics․lisp file
File, Lisp, clusters/common/methods.lisp: The clusters/common/methods․lisp file
File, Lisp, clusters/common/package.lisp: The clusters/common/package․lisp file
File, Lisp, clusters/common/silhouette.lisp: The clusters/common/silhouette․lisp file
File, Lisp, clusters/common/types.lisp: The clusters/common/types․lisp file
File, Lisp, clusters/common/utils.lisp: The clusters/common/utils․lisp file
File, Lisp, clusters/distance/bhattacharyya.lisp: The clusters/distance/bhattacharyya․lisp file
File, Lisp, clusters/distance/docstrings.lisp: The clusters/distance/docstrings․lisp file
File, Lisp, clusters/distance/package.lisp: The clusters/distance/package․lisp file
File, Lisp, clusters/distance/sinkhorn.lisp: The clusters/distance/sinkhorn․lisp file
File, Lisp, clusters/k-means/methods.lisp: The clusters/k-means/methods․lisp file
File, Lisp, clusters/k-means/package.lisp: The clusters/k-means/package․lisp file
File, Lisp, clusters/k-means/types.lisp: The clusters/k-means/types․lisp file
File, Lisp, clusters/k-means/utils.lisp: The clusters/k-means/utils․lisp file
File, Lisp, clusters/metric/average.lisp: The clusters/metric/average․lisp file
File, Lisp, clusters/metric/docstrings.lisp: The clusters/metric/docstrings․lisp file
File, Lisp, clusters/metric/earth-mover.lisp: The clusters/metric/earth-mover․lisp file
File, Lisp, clusters/metric/euclid.lisp: The clusters/metric/euclid․lisp file
File, Lisp, clusters/metric/group-average.lisp: The clusters/metric/group-average․lisp file
File, Lisp, clusters/metric/hausdorff.lisp: The clusters/metric/hausdorff․lisp file
File, Lisp, clusters/metric/hellinger.lisp: The clusters/metric/hellinger․lisp file
File, Lisp, clusters/metric/lcs.lisp: The clusters/metric/lcs․lisp file
File, Lisp, clusters/metric/levenshtein.lisp: The clusters/metric/levenshtein․lisp file
File, Lisp, clusters/metric/package.lisp: The clusters/metric/package․lisp file
File, Lisp, clusters/metric/svr.lisp: The clusters/metric/svr․lisp file
File, Lisp, clusters/pam/generics.lisp: The clusters/pam/generics․lisp file
File, Lisp, clusters/pam/methods.lisp: The clusters/pam/methods․lisp file
File, Lisp, clusters/pam/package.lisp: The clusters/pam/package․lisp file
File, Lisp, clusters/pam/types.lisp: The clusters/pam/types․lisp file
File, Lisp, clusters/pam/utils.lisp: The clusters/pam/utils․lisp file
File, Lisp, clusters/utils/maps.lisp: The clusters/utils/maps․lisp file
File, Lisp, clusters/utils/matrix.lisp: The clusters/utils/matrix․lisp file
File, Lisp, clusters/utils/package.lisp: The clusters/utils/package․lisp file
File, Lisp, clusters/utils/partition.lisp: The clusters/utils/partition․lisp file
File, Lisp, clusters/utils/random.lisp: The clusters/utils/random․lisp file
File, Lisp, clusters/utils/utils.lisp: The clusters/utils/utils․lisp file

L
Lisp File, clusters.asd: The clusters․asd file
Lisp File, clusters/aux-package.lisp: The clusters/aux-package․lisp file
Lisp File, clusters/clarans/generics.lisp: The clusters/clarans/generics․lisp file
Lisp File, clusters/clarans/methods.lisp: The clusters/clarans/methods․lisp file
Lisp File, clusters/clarans/package.lisp: The clusters/clarans/package․lisp file
Lisp File, clusters/clarans/types.lisp: The clusters/clarans/types․lisp file
Lisp File, clusters/clarans/utils.lisp: The clusters/clarans/utils․lisp file
Lisp File, clusters/common/functions.lisp: The clusters/common/functions․lisp file
Lisp File, clusters/common/generics.lisp: The clusters/common/generics․lisp file
Lisp File, clusters/common/methods.lisp: The clusters/common/methods․lisp file
Lisp File, clusters/common/package.lisp: The clusters/common/package․lisp file
Lisp File, clusters/common/silhouette.lisp: The clusters/common/silhouette․lisp file
Lisp File, clusters/common/types.lisp: The clusters/common/types․lisp file
Lisp File, clusters/common/utils.lisp: The clusters/common/utils․lisp file
Lisp File, clusters/distance/bhattacharyya.lisp: The clusters/distance/bhattacharyya․lisp file
Lisp File, clusters/distance/docstrings.lisp: The clusters/distance/docstrings․lisp file
Lisp File, clusters/distance/package.lisp: The clusters/distance/package․lisp file
Lisp File, clusters/distance/sinkhorn.lisp: The clusters/distance/sinkhorn․lisp file
Lisp File, clusters/k-means/methods.lisp: The clusters/k-means/methods․lisp file
Lisp File, clusters/k-means/package.lisp: The clusters/k-means/package․lisp file
Lisp File, clusters/k-means/types.lisp: The clusters/k-means/types․lisp file
Lisp File, clusters/k-means/utils.lisp: The clusters/k-means/utils․lisp file
Lisp File, clusters/metric/average.lisp: The clusters/metric/average․lisp file
Lisp File, clusters/metric/docstrings.lisp: The clusters/metric/docstrings․lisp file
Lisp File, clusters/metric/earth-mover.lisp: The clusters/metric/earth-mover․lisp file
Lisp File, clusters/metric/euclid.lisp: The clusters/metric/euclid․lisp file
Lisp File, clusters/metric/group-average.lisp: The clusters/metric/group-average․lisp file
Lisp File, clusters/metric/hausdorff.lisp: The clusters/metric/hausdorff․lisp file
Lisp File, clusters/metric/hellinger.lisp: The clusters/metric/hellinger․lisp file
Lisp File, clusters/metric/lcs.lisp: The clusters/metric/lcs․lisp file
Lisp File, clusters/metric/levenshtein.lisp: The clusters/metric/levenshtein․lisp file
Lisp File, clusters/metric/package.lisp: The clusters/metric/package․lisp file
Lisp File, clusters/metric/svr.lisp: The clusters/metric/svr․lisp file
Lisp File, clusters/pam/generics.lisp: The clusters/pam/generics․lisp file
Lisp File, clusters/pam/methods.lisp: The clusters/pam/methods․lisp file
Lisp File, clusters/pam/package.lisp: The clusters/pam/package․lisp file
Lisp File, clusters/pam/types.lisp: The clusters/pam/types․lisp file
Lisp File, clusters/pam/utils.lisp: The clusters/pam/utils․lisp file
Lisp File, clusters/utils/maps.lisp: The clusters/utils/maps․lisp file
Lisp File, clusters/utils/matrix.lisp: The clusters/utils/matrix․lisp file
Lisp File, clusters/utils/package.lisp: The clusters/utils/package․lisp file
Lisp File, clusters/utils/partition.lisp: The clusters/utils/partition․lisp file
Lisp File, clusters/utils/random.lisp: The clusters/utils/random․lisp file
Lisp File, clusters/utils/utils.lisp: The clusters/utils/utils․lisp file

M
Module, clusters/clarans: The clusters/clarans module
Module, clusters/common: The clusters/common module
Module, clusters/distance: The clusters/distance module
Module, clusters/k-means: The clusters/k-means module
Module, clusters/metric: The clusters/metric module
Module, clusters/pam: The clusters/pam module
Module, clusters/utils: The clusters/utils module

Jump to:   C   F   L   M  

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

A.2 Functions

Jump to:   (  
A   B   C   D   E   F   G   H   I   K   L   M   O   P   R   S   T   U   W   Y  
Index Entry  Section

(
(setf access-cluster-contents): Internal generic functions
(setf access-cluster-contents): Internal generic functions
(setf access-cluster-size): Internal generic functions
(setf access-cluster-size): Internal generic functions
(setf access-distance-matrix): Internal generic functions
(setf access-distance-matrix): Internal generic functions
(setf access-medoids): Internal generic functions
(setf access-medoids): Internal generic functions
(setf access-medoids-count): Internal generic functions
(setf access-medoids-count): Internal generic functions
(setf access-unfinished-clusters): Internal generic functions
(setf access-unfinished-clusters): Internal generic functions
(setf d): Internal generic functions
(setf d): Internal generic functions
(setf data): Exported generic functions
(setf data): Exported generic functions
(setf distance-function): Internal generic functions
(setf distance-function): Internal generic functions
(setf distortion): Internal generic functions
(setf distortion): Internal generic functions
(setf distortion-epsilon): Internal generic functions
(setf distortion-epsilon): Internal generic functions
(setf indexes): Exported generic functions
(setf indexes): Exported generic functions
(setf iterations): Internal generic functions
(setf iterations): Internal generic functions
(setf max-neighbor): Internal generic functions
(setf max-neighbor): Internal generic functions
(setf medoids): Internal generic functions
(setf medoids): Internal generic functions
(setf medoids-count): Internal generic functions
(setf medoids-count): Internal generic functions
(setf medoids-count): Internal generic functions
(setf medoids-count): Internal generic functions
(setf medoids-count): Internal generic functions
(setf medoids-count): Internal generic functions
(setf merge-threshold): Internal generic functions
(setf merge-threshold): Internal generic functions
(setf mref): Exported functions
(setf select-medoids-attempts-count): Internal generic functions
(setf select-medoids-attempts-count): Internal generic functions
(setf split-merge-attempts-count): Internal generic functions
(setf split-merge-attempts-count): Internal generic functions
(setf split-threshold): Internal generic functions
(setf split-threshold): Internal generic functions
(setf y): Internal generic functions
(setf y): Internal generic functions

A
access-cluster-contents: Internal generic functions
access-cluster-contents: Internal generic functions
access-cluster-size: Internal generic functions
access-cluster-size: Internal generic functions
access-distance-matrix: Internal generic functions
access-distance-matrix: Internal generic functions
access-medoids: Internal generic functions
access-medoids: Internal generic functions
access-medoids-count: Internal generic functions
access-medoids-count: Internal generic functions
access-unfinished-clusters: Internal generic functions
access-unfinished-clusters: Internal generic functions
algorithm-state-class: Exported generic functions
algorithm-state-class: Exported generic functions
algorithm-state-class: Exported generic functions
algorithm-state-class: Exported generic functions
algorithm-state-initialization-list: Exported generic functions
algorithm-state-initialization-list: Exported generic functions
algorithm-state-initialization-list: Exported generic functions
algorithm-state-initialization-list: Exported generic functions
array-sum: Internal functions
assign-data-points-to-medoids: Internal functions
assign-data-points-to-medoids: Internal generic functions
assign-data-points-to-medoids: Internal generic functions
average: Exported functions
average-distance-to-element: Internal functions

B
bhattacharyya: Exported functions
build-clusters: Internal functions

C
calculate-silhouette: Exported functions
calculate-silhouette*: Exported generic functions
calculate-silhouette*: Exported generic functions
calculate-silhouette*: Exported generic functions
choose-effective-medoid: Internal functions
choose-effective-medoids: Internal functions
choose-initial-medoids: Internal functions
clear-cluster-contents: Internal functions
clear-unfinished-clusters: Internal functions
closest-medoid: Internal functions
cluster: Exported functions
cluster-contents: Exported generic functions
cluster-contents: Exported generic functions
cluster-indexes: Exported generic functions
cluster-indexes: Exported generic functions
cluster-values: Internal functions
column-index: Internal functions
contains: Internal functions
copy-into: Exported functions
count->half-matrix-size: Internal functions
count-of-all-possible-subvectors-upto-length: Internal functions

D
d: Internal generic functions
d: Internal generic functions
data: Exported generic functions
data: Exported generic functions
data: Exported generic functions
defpackage: Exported macros
distance-function: Exported generic functions
distance-function: Exported generic functions
distance-function: Exported generic functions
distance-function: Exported generic functions
distance-function: Internal generic functions
distance-function: Internal generic functions
distance-matrix: Exported functions
distance-matrix: Internal functions
distortion: Internal functions
distortion: Internal generic functions
distortion: Internal generic functions
distortion-epsilon: Internal generic functions
distortion-epsilon: Internal generic functions
draw-random-vector: Exported functions

E
earth-mover-metric: Internal functions
element-in-i-rows: Internal functions
euclid: Exported functions

F
fill-reclustering-index-vector: Internal functions
Function, (setf mref): Exported functions
Function, array-sum: Internal functions
Function, assign-data-points-to-medoids: Internal functions
Function, average: Exported functions
Function, average-distance-to-element: Internal functions
Function, bhattacharyya: Exported functions
Function, build-clusters: Internal functions
Function, calculate-silhouette: Exported functions
Function, choose-effective-medoid: Internal functions
Function, choose-effective-medoids: Internal functions
Function, choose-initial-medoids: Internal functions
Function, clear-cluster-contents: Internal functions
Function, clear-unfinished-clusters: Internal functions
Function, closest-medoid: Internal functions
Function, cluster: Exported functions
Function, cluster-values: Internal functions
Function, column-index: Internal functions
Function, contains: Internal functions
Function, copy-into: Exported functions
Function, count->half-matrix-size: Internal functions
Function, count-of-all-possible-subvectors-upto-length: Internal functions
Function, distance-matrix: Exported functions
Function, distance-matrix: Internal functions
Function, distortion: Internal functions
Function, draw-random-vector: Exported functions
Function, earth-mover-metric: Internal functions
Function, element-in-i-rows: Internal functions
Function, euclid: Exported functions
Function, fill-reclustering-index-vector: Internal functions
Function, grid-mapping: Internal functions
Function, group-average: Exported functions
Function, half-matrix-index->square-row/column: Exported functions
Function, half-matrix-size->count: Exported functions
Function, hausdorff: Exported functions
Function, hellinger: Exported functions
Function, inter-cluster-distances: Internal functions
Function, intra-cluster-distances: Internal functions
Function, lazy-shuffle: Exported functions
Function, lcs: Exported functions
Function, levenshtein: Exported functions
Function, make-algorithm-state: Exported functions
Function, make-half-matrix: Exported functions
Function, map-into-half-matrix: Exported functions
Function, max-condition: Internal functions
Function, medoidp: Internal functions
Function, mref: Exported functions
Function, obtain-result: Exported functions
Function, order-medoids: Internal functions
Function, pmap: Exported functions
Function, pmap-into: Exported functions
Function, prepare-reclustering-index-vector: Internal functions
Function, random-medoid: Internal functions
Function, random-neighbor: Internal functions
Function, recluster-clusters-of-invalid-size: Internal functions
Function, reset: Internal functions
Function, row-index: Internal functions
Function, same-events: Internal functions
Function, scan-for-clusters-of-invalid-size: Internal functions
Function, seed: Exported functions
Function, select-initial-medoids: Internal functions
Function, select-new-medoids: Internal functions
Function, select-random-cluster-subsets: Internal functions
Function, sinkhorn: Exported functions
Function, sinkhorn-optimal-transport-matrix: Internal functions
Function, square-row/column->half-matrix-index: Exported functions
Function, sum-row: Internal functions
Function, svr: Exported functions
Function, swap-if: Exported functions
Function, to-cluster-contents: Internal functions
Function, transform: Exported functions
Function, unfinished-clusters-p: Internal functions
Function, update-grid: Internal functions

G
Generic Function, (setf access-cluster-contents): Internal generic functions
Generic Function, (setf access-cluster-size): Internal generic functions
Generic Function, (setf access-distance-matrix): Internal generic functions
Generic Function, (setf access-medoids): Internal generic functions
Generic Function, (setf access-medoids-count): Internal generic functions
Generic Function, (setf access-unfinished-clusters): Internal generic functions
Generic Function, (setf d): Internal generic functions
Generic Function, (setf data): Exported generic functions
Generic Function, (setf distance-function): Internal generic functions
Generic Function, (setf distortion): Internal generic functions
Generic Function, (setf distortion-epsilon): Internal generic functions
Generic Function, (setf indexes): Exported generic functions
Generic Function, (setf iterations): Internal generic functions
Generic Function, (setf max-neighbor): Internal generic functions
Generic Function, (setf medoids): Internal generic functions
Generic Function, (setf medoids-count): Internal generic functions
Generic Function, (setf medoids-count): Internal generic functions
Generic Function, (setf medoids-count): Internal generic functions
Generic Function, (setf merge-threshold): Internal generic functions
Generic Function, (setf select-medoids-attempts-count): Internal generic functions
Generic Function, (setf split-merge-attempts-count): Internal generic functions
Generic Function, (setf split-threshold): Internal generic functions
Generic Function, (setf y): Internal generic functions
Generic Function, access-cluster-contents: Internal generic functions
Generic Function, access-cluster-size: Internal generic functions
Generic Function, access-distance-matrix: Internal generic functions
Generic Function, access-medoids: Internal generic functions
Generic Function, access-medoids-count: Internal generic functions
Generic Function, access-unfinished-clusters: Internal generic functions
Generic Function, algorithm-state-class: Exported generic functions
Generic Function, algorithm-state-initialization-list: Exported generic functions
Generic Function, assign-data-points-to-medoids: Internal generic functions
Generic Function, calculate-silhouette*: Exported generic functions
Generic Function, cluster-contents: Exported generic functions
Generic Function, cluster-indexes: Exported generic functions
Generic Function, d: Internal generic functions
Generic Function, data: Exported generic functions
Generic Function, distance-function: Exported generic functions
Generic Function, distance-function: Internal generic functions
Generic Function, distortion: Internal generic functions
Generic Function, distortion-epsilon: Internal generic functions
Generic Function, indexes: Exported generic functions
Generic Function, iterations: Internal generic functions
Generic Function, key-function: Exported generic functions
Generic Function, max-neighbor: Internal generic functions
Generic Function, medoids: Internal generic functions
Generic Function, medoids-count: Internal generic functions
Generic Function, medoids-count: Internal generic functions
Generic Function, medoids-count: Internal generic functions
Generic Function, merge-threshold: Internal generic functions
Generic Function, parallel-p: Internal generic functions
Generic Function, parallelp: Exported generic functions
Generic Function, parameters: Exported generic functions
Generic Function, read-clusters: Internal generic functions
Generic Function, read-distance-matrix: Internal generic functions
Generic Function, read-distortion-epsilon: Internal generic functions
Generic Function, read-iterations: Internal generic functions
Generic Function, read-medoids-count: Internal generic functions
Generic Function, read-medoids-count: Internal generic functions
Generic Function, read-merge-threshold: Internal generic functions
Generic Function, read-select-medoids-attempts-count: Internal generic functions
Generic Function, read-split-merge-attempts-count: Internal generic functions
Generic Function, read-split-threshold: Internal generic functions
Generic Function, result-class: Exported generic functions
Generic Function, result-initialization-list: Exported generic functions
Generic Function, run-algorithm: Exported generic functions
Generic Function, select-medoids-attempts-count: Internal generic functions
Generic Function, silhouette: Exported generic functions
Generic Function, silhouette-sample-count: Exported generic functions
Generic Function, silhouette-sample-size: Exported generic functions
Generic Function, split-merge-attempts-count: Internal generic functions
Generic Function, split-threshold: Internal generic functions
Generic Function, y: Internal generic functions
grid-mapping: Internal functions
group-average: Exported functions

H
half-matrix-index->square-row/column: Exported functions
half-matrix-size->count: Exported functions
hausdorff: Exported functions
hellinger: Exported functions

I
indexes: Exported generic functions
indexes: Exported generic functions
indexes: Exported generic functions
inter-cluster-distances: Internal functions
intra-cluster-distances: Internal functions
iterations: Internal generic functions
iterations: Internal generic functions

K
key-function: Exported generic functions
key-function: Exported generic functions
key-function: Exported generic functions

L
lazy-shuffle: Exported functions
lcs: Exported functions
levenshtein: Exported functions

M
Macro, defpackage: Exported macros
Macro, with-grid-mapping-resources: Internal macros
make-algorithm-state: Exported functions
make-half-matrix: Exported functions
map-into-half-matrix: Exported functions
max-condition: Internal functions
max-neighbor: Internal generic functions
max-neighbor: Internal generic functions
max-neighbor: Internal generic functions
medoidp: Internal functions
medoids: Internal generic functions
medoids: Internal generic functions
medoids-count: Internal generic functions
medoids-count: Internal generic functions
medoids-count: Internal generic functions
medoids-count: Internal generic functions
medoids-count: Internal generic functions
medoids-count: Internal generic functions
medoids-count: Internal generic functions
merge-threshold: Internal generic functions
merge-threshold: Internal generic functions
Method, (setf access-cluster-contents): Internal generic functions
Method, (setf access-cluster-size): Internal generic functions
Method, (setf access-distance-matrix): Internal generic functions
Method, (setf access-medoids): Internal generic functions
Method, (setf access-medoids-count): Internal generic functions
Method, (setf access-unfinished-clusters): Internal generic functions
Method, (setf d): Internal generic functions
Method, (setf data): Exported generic functions
Method, (setf distance-function): Internal generic functions
Method, (setf distortion): Internal generic functions
Method, (setf distortion-epsilon): Internal generic functions
Method, (setf indexes): Exported generic functions
Method, (setf iterations): Internal generic functions
Method, (setf max-neighbor): Internal generic functions
Method, (setf medoids): Internal generic functions
Method, (setf medoids-count): Internal generic functions
Method, (setf medoids-count): Internal generic functions
Method, (setf medoids-count): Internal generic functions
Method, (setf merge-threshold): Internal generic functions
Method, (setf select-medoids-attempts-count): Internal generic functions
Method, (setf split-merge-attempts-count): Internal generic functions
Method, (setf split-threshold): Internal generic functions
Method, (setf y): Internal generic functions
Method, access-cluster-contents: Internal generic functions
Method, access-cluster-size: Internal generic functions
Method, access-distance-matrix: Internal generic functions
Method, access-medoids: Internal generic functions
Method, access-medoids-count: Internal generic functions
Method, access-unfinished-clusters: Internal generic functions
Method, algorithm-state-class: Exported generic functions
Method, algorithm-state-class: Exported generic functions
Method, algorithm-state-class: Exported generic functions
Method, algorithm-state-initialization-list: Exported generic functions
Method, algorithm-state-initialization-list: Exported generic functions
Method, algorithm-state-initialization-list: Exported generic functions
Method, assign-data-points-to-medoids: Internal generic functions
Method, calculate-silhouette*: Exported generic functions
Method, calculate-silhouette*: Exported generic functions
Method, cluster-contents: Exported generic functions
Method, cluster-indexes: Exported generic functions
Method, d: Internal generic functions
Method, data: Exported generic functions
Method, data: Exported generic functions
Method, distance-function: Exported generic functions
Method, distance-function: Exported generic functions
Method, distance-function: Exported generic functions
Method, distance-function: Internal generic functions
Method, distortion: Internal generic functions
Method, distortion-epsilon: Internal generic functions
Method, indexes: Exported generic functions
Method, indexes: Exported generic functions
Method, iterations: Internal generic functions
Method, key-function: Exported generic functions
Method, key-function: Exported generic functions
Method, max-neighbor: Internal generic functions
Method, max-neighbor: Internal generic functions
Method, medoids: Internal generic functions
Method, medoids-count: Internal generic functions
Method, medoids-count: Internal generic functions
Method, medoids-count: Internal generic functions
Method, medoids-count: Internal generic functions
Method, merge-threshold: Internal generic functions
Method, parallelp: Exported generic functions
Method, parallelp: Exported generic functions
Method, parameters: Exported generic functions
Method, read-clusters: Internal generic functions
Method, read-distance-matrix: Internal generic functions
Method, read-distortion-epsilon: Internal generic functions
Method, read-distortion-epsilon: Internal generic functions
Method, read-iterations: Internal generic functions
Method, read-iterations: Internal generic functions
Method, read-medoids-count: Internal generic functions
Method, read-medoids-count: Internal generic functions
Method, read-medoids-count: Internal generic functions
Method, read-medoids-count: Internal generic functions
Method, read-merge-threshold: Internal generic functions
Method, read-merge-threshold: Internal generic functions
Method, read-select-medoids-attempts-count: Internal generic functions
Method, read-select-medoids-attempts-count: Internal generic functions
Method, read-split-merge-attempts-count: Internal generic functions
Method, read-split-merge-attempts-count: Internal generic functions
Method, read-split-threshold: Internal generic functions
Method, read-split-threshold: Internal generic functions
Method, result-class: Exported generic functions
Method, result-class: Exported generic functions
Method, result-class: Exported generic functions
Method, result-initialization-list: Exported generic functions
Method, result-initialization-list: Exported generic functions
Method, result-initialization-list: Exported generic functions
Method, result-initialization-list: Exported generic functions
Method, run-algorithm: Exported generic functions
Method, run-algorithm: Exported generic functions
Method, run-algorithm: Exported generic functions
Method, select-medoids-attempts-count: Internal generic functions
Method, silhouette: Exported generic functions
Method, silhouette: Exported generic functions
Method, silhouette-sample-count: Exported generic functions
Method, silhouette-sample-count: Exported generic functions
Method, silhouette-sample-size: Exported generic functions
Method, silhouette-sample-size: Exported generic functions
Method, split-merge-attempts-count: Internal generic functions
Method, split-threshold: Internal generic functions
Method, y: Internal generic functions
mref: Exported functions

O
obtain-result: Exported functions
order-medoids: Internal functions

P
parallel-p: Internal generic functions
parallelp: Exported generic functions
parallelp: Exported generic functions
parallelp: Exported generic functions
parameters: Exported generic functions
parameters: Exported generic functions
pmap: Exported functions
pmap-into: Exported functions
prepare-reclustering-index-vector: Internal functions

R
random-medoid: Internal functions
random-neighbor: Internal functions
read-clusters: Internal generic functions
read-clusters: Internal generic functions
read-distance-matrix: Internal generic functions
read-distance-matrix: Internal generic functions
read-distortion-epsilon: Internal generic functions
read-distortion-epsilon: Internal generic functions
read-distortion-epsilon: Internal generic functions
read-iterations: Internal generic functions
read-iterations: Internal generic functions
read-iterations: Internal generic functions
read-medoids-count: Internal generic functions
read-medoids-count: Internal generic functions
read-medoids-count: Internal generic functions
read-medoids-count: Internal generic functions
read-medoids-count: Internal generic functions
read-medoids-count: Internal generic functions
read-merge-threshold: Internal generic functions
read-merge-threshold: Internal generic functions
read-merge-threshold: Internal generic functions
read-select-medoids-attempts-count: Internal generic functions
read-select-medoids-attempts-count: Internal generic functions
read-select-medoids-attempts-count: Internal generic functions
read-split-merge-attempts-count: Internal generic functions
read-split-merge-attempts-count: Internal generic functions
read-split-merge-attempts-count: Internal generic functions
read-split-threshold: Internal generic functions
read-split-threshold: Internal generic functions
read-split-threshold: Internal generic functions
recluster-clusters-of-invalid-size: Internal functions
reset: Internal functions
result-class: Exported generic functions
result-class: Exported generic functions
result-class: Exported generic functions
result-class: Exported generic functions
result-initialization-list: Exported generic functions
result-initialization-list: Exported generic functions
result-initialization-list: Exported generic functions
result-initialization-list: Exported generic functions
result-initialization-list: Exported generic functions
row-index: Internal functions
run-algorithm: Exported generic functions
run-algorithm: Exported generic functions
run-algorithm: Exported generic functions
run-algorithm: Exported generic functions

S
same-events: Internal functions
scan-for-clusters-of-invalid-size: Internal functions
seed: Exported functions
select-initial-medoids: Internal functions
select-medoids-attempts-count: Internal generic functions
select-medoids-attempts-count: Internal generic functions
select-new-medoids: Internal functions
select-random-cluster-subsets: Internal functions
silhouette: Exported generic functions
silhouette: Exported generic functions
silhouette: Exported generic functions
silhouette-sample-count: Exported generic functions
silhouette-sample-count: Exported generic functions
silhouette-sample-count: Exported generic functions
silhouette-sample-size: Exported generic functions
silhouette-sample-size: Exported generic functions
silhouette-sample-size: Exported generic functions
sinkhorn: Exported functions
sinkhorn-optimal-transport-matrix: Internal functions
split-merge-attempts-count: Internal generic functions
split-merge-attempts-count: Internal generic functions
split-threshold: Internal generic functions
split-threshold: Internal generic functions
square-row/column->half-matrix-index: Exported functions
sum-row: Internal functions
svr: Exported functions
swap-if: Exported functions

T
to-cluster-contents: Internal functions
transform: Exported functions

U
unfinished-clusters-p: Internal functions
update-grid: Internal functions

W
with-grid-mapping-resources: Internal macros

Y
y: Internal generic functions
y: Internal generic functions

Jump to:   (  
A   B   C   D   E   F   G   H   I   K   L   M   O   P   R   S   T   U   W   Y  

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

A.3 Variables

Jump to:   %   +  
C   S  
Index Entry  Section

%
%cluster-contents: Internal classes
%cluster-indexes: Exported classes
%cluster-size: Internal classes
%clusters: Internal classes
%d: Internal classes
%data: Exported classes
%data: Exported classes
%distance-function: Exported classes
%distance-matrix: Internal classes
%distance-matrix: Internal classes
%distortion: Internal classes
%distortion-epsilon: Exported classes
%indexes: Exported classes
%indexes: Exported classes
%iterations: Exported classes
%key-function: Exported classes
%max-neighbor: Exported classes
%medoids: Internal classes
%medoids: Internal classes
%medoids-count: Exported classes
%medoids-count: Exported classes
%medoids-count: Exported classes
%medoids-count: Internal classes
%merge-threshold: Exported classes
%parallelp: Exported classes
%parameters: Internal classes
%select-medoids-attempts-count: Exported classes
%silhouette: Exported classes
%silhouette-sample-count: Exported classes
%silhouette-sample-size: Exported classes
%split-merge-attempts-count: Exported classes
%split-threshold: Exported classes
%unfinished-clusters: Internal classes
%y: Internal classes

+
+sqrt2+: Internal constants

C
Constant, +sqrt2+: Internal constants

S
Slot, %cluster-contents: Internal classes
Slot, %cluster-indexes: Exported classes
Slot, %cluster-size: Internal classes
Slot, %clusters: Internal classes
Slot, %d: Internal classes
Slot, %data: Exported classes
Slot, %data: Exported classes
Slot, %distance-function: Exported classes
Slot, %distance-matrix: Internal classes
Slot, %distance-matrix: Internal classes
Slot, %distortion: Internal classes
Slot, %distortion-epsilon: Exported classes
Slot, %indexes: Exported classes
Slot, %indexes: Exported classes
Slot, %iterations: Exported classes
Slot, %key-function: Exported classes
Slot, %max-neighbor: Exported classes
Slot, %medoids: Internal classes
Slot, %medoids: Internal classes
Slot, %medoids-count: Exported classes
Slot, %medoids-count: Exported classes
Slot, %medoids-count: Exported classes
Slot, %medoids-count: Internal classes
Slot, %merge-threshold: Exported classes
Slot, %parallelp: Exported classes
Slot, %parameters: Internal classes
Slot, %select-medoids-attempts-count: Exported classes
Slot, %silhouette: Exported classes
Slot, %silhouette-sample-count: Exported classes
Slot, %silhouette-sample-size: Exported classes
Slot, %split-merge-attempts-count: Exported classes
Slot, %split-threshold: Exported classes
Slot, %unfinished-clusters: Internal classes
Slot, %y: Internal classes

Jump to:   %   +  
C   S  

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

A.4 Data types

Jump to:   A   C   I   P   R   S   T  
Index Entry  Section

A
algorithm-state: Exported classes
algorithm-state: Internal classes
algorithm-state: Internal classes
algorithm-state: Internal classes

C
Class, algorithm-state: Exported classes
Class, algorithm-state: Internal classes
Class, algorithm-state: Internal classes
Class, algorithm-state: Internal classes
Class, pam-result: Internal classes
Class, parameters: Exported classes
Class, parameters: Exported classes
Class, parameters: Exported classes
Class, parameters: Exported classes
Class, parameters-holder: Internal classes
Class, result: Exported classes
clusters: The clusters system
clusters: The clusters package
clusters.aux-package: The clusters․aux-package package
clusters.clarans: The clusters․clarans package
clusters.distance: The clusters․distance package
clusters.fancy: The clusters․fancy package
clusters.k-means: The clusters․k-means package
clusters.metric: The clusters․metric package
clusters.pam: The clusters․pam package
clusters.utils: The clusters․utils package

I
index-array: Internal types

P
Package, clusters: The clusters package
Package, clusters.aux-package: The clusters․aux-package package
Package, clusters.clarans: The clusters․clarans package
Package, clusters.distance: The clusters․distance package
Package, clusters.fancy: The clusters․fancy package
Package, clusters.k-means: The clusters․k-means package
Package, clusters.metric: The clusters․metric package
Package, clusters.pam: The clusters․pam package
Package, clusters.utils: The clusters․utils package
pam-result: Internal classes
parameters: Exported classes
parameters: Exported classes
parameters: Exported classes
parameters: Exported classes
parameters-holder: Internal classes

R
result: Exported classes

S
System, clusters: The clusters system

T
Type, index-array: Internal types

Jump to:   A   C   I   P   R   S   T