result_internal_algorithm_by_metric | R Documentation |
It is used for obtaining the results of an algorithm indicated as a parameter grouped by number of clusters.
result_internal_algorithm_by_metric(df, metric)
df |
data matrix or data frame with the result of running the clustering algorithm. |
metric |
It's a string with the metric we want to evaluate your results. |
A data.frame with the results of the algorithm indicated as parameter.
result = Clustering::clustering(
df = cluster::agriculture,
min = 4,
max = 5,
algorithm='gmm',
metrics=c("Recall","Silhouette")
)
Clustering::result_internal_algorithm_by_metric(result,'Silhouette')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.