best_ranked_external_metrics {Clustering}R Documentation

Best rated external metrics.

Description

Method in charge of searching for each algorithm those that have the best external classification.

Method that looks for those external attribute that are better classified, making use of the var column. In this way of discard attribute and only work with those that give the best response to the algorithm in question.

Usage

best_ranked_external_metrics(df)

Arguments

df

Matrix or data frame with the result of running the clustering algorithm.

Value

Returns a data.frame with the best classified external attribute.

Examples


result = Clustering::clustering(
               df = cluster::agriculture,
               min = 4,
               max = 4,
               algorithm='clara',
               metrics=c("Recall")
         )

Clustering::best_ranked_external_metrics(df = result)


[Package Clustering version 1.7.10 Index]