plot_clustering | R Documentation |
Graphical representation of the evaluation measures grouped by cluster.
plot_clustering(df, metric)
df |
data matrix or data frame with the result of running the clustering algorithm. |
metric |
it's a string with the name of the metric select to evaluate. |
In certain cases the review or filtering of the data is necessary to select the data, that is why thanks to the graphic representations this task is much easier. Therefore with this method we will be able to filter the data by metrics and see the data in a graphical way.
Generate an image with the distribution of the clusters by metrics.
result = Clustering::clustering(
df = cluster::agriculture,
min = 4,
max = 5,
algorithm='gmm',
metrics=c("Precision")
)
Clustering::plot_clustering(result,c("Precision"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.