best_ranked_external_metrics | R Documentation |
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.
best_ranked_external_metrics(df)
df |
Matrix or data frame with the result of running the clustering algorithm. |
Returns a data.frame with the best classified external attribute.
result = Clustering::clustering(
df = cluster::agriculture,
min = 4,
max = 4,
algorithm='clara',
metrics=c("Recall")
)
Clustering::best_ranked_external_metrics(df = result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.