pick_best_cluster_silhouette | R Documentation |
This function selects the best cluster from a list of clustering results based on the highest average silhouette score.
pick_best_cluster_silhouette(tsne_clust)
tsne_clust |
A list of clustering results where each element contains clustering information, including the average silhouette score. |
The function iterates over a list of clustering results (tsne_clust
) and
selects the cluster with the highest average silhouette score. If no clusters are valid or
the tsne_clust
list is empty, the function will stop and return an error.
Returns the clustering result with the highest average silhouette score.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.