View source: R/unsupervised-validation.R
| calc_validation_metrics | R Documentation |
Comprehensive validation metrics for a clustering result
calc_validation_metrics(clusters, data = NULL, dist_mat = NULL)
clusters |
Vector of cluster assignments |
data |
Original data frame (for WSS calculation) |
dist_mat |
Distance matrix (for silhouette) |
A tibble with validation metrics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.