(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`.
(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.
(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`.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |