plot_clustering function

Graphic representation of the evaluation measures.

Graphic representation of the evaluation measures.

Graphical representation of the evaluation measures grouped by cluster.

plot_clustering(df, metric)

Arguments

  • 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.

Returns

Generate an image with the distribution of the clusters by metrics.

Details

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.

Examples

result = Clustering::clustering( df = cluster::agriculture, min = 4, max = 5, algorithm='gmm', metrics=c("Precision") ) Clustering::plot_clustering(result,c("Precision"))