Liking cljdoc? Tell your friends :D

active-analytics.clustering.silhouettes


average-distanceclj

(average-distance x xs distance-fn)

Calculates the average distance from a point x to a set of points xs via distance-fn. x itself is disregarded if contained in xs.

Calculates the average distance from a point
`x` to a set of points `xs` via `distance-fn`.
`x` itself is disregarded if contained in `xs`.
sourceraw docstring

average-distance-to-closest-clusterclj

(average-distance-to-closest-cluster x clusters distance-fn)

Calculates the minimal average distance between a point and a collection of clusters.

Calculates the minimal average distance between
a point and a collection of clusters.
sourceraw docstring

average-silhouette-widthclj

(average-silhouette-width cluster other-clusters distance-fn)

Calculates the average of all silhouette widths of points in a cluster.

Calculates the average of all silhouette widths
of points in a `cluster`.
sourceraw docstring

silhouette-widthclj

(silhouette-width x containing-cluster other-clusters distance-fn)

Calculates the silhouette width of a point x, where x lies in containing-cluster, and other-clusters does not contain containing-cluster. This measures how well x fits into its cluster. A positive value close to 1 means a good fit, 0 means it is unclear where x belongs, and a negative value suggests that x should probably be inside the neighbouring cluster.

Calculates the silhouette width of a point `x`,
where `x` lies in `containing-cluster`, and
`other-clusters` does not contain `containing-cluster`.
This measures how well `x` fits into its cluster.
A positive value close to 1 means a good fit,
0 means it is unclear where `x` belongs,
and a negative value suggests that `x` should
probably be inside the neighbouring cluster.
sourceraw docstring

total-average-silhouette-widthclj

(total-average-silhouette-width clusters distance-fn)

Calculates the average of all average silhouette widths over a collection of clusters. Analogous to the silhouette width, this provides a measurement of how good the overall clustering is.

Calculates the average of all average silhouette
widths over a collection of `clusters`.
Analogous to the silhouette width, this provides a
measurement of how good the overall clustering is.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close