| disco_score | R Documentation |
Returns the mean of the per-sample DISCO scores produced by
disco_samples. This is the single-number summary of
clustering quality used for model selection and comparison.
disco_score(X, labels, min_points = 5)
X |
A numeric matrix ( |
labels |
An integer vector of cluster labels ( |
min_points |
Positive integer; core-distance neighbourhood size.
Default is |
A single numeric value in [-1, 1].
disco_samples
set.seed(42)
X <- matrix(rnorm(100), ncol = 2)
labels <- rep(c(0L, 1L), each = 25)
disco_score(X, labels)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.