Method that calculates which algorithm and which metric behaves best for the datasets provided.
evaluate_best_validation_external_by_metrics(df)
data matrix or data frame with the result of running the clustering algorithm.
a data.frame with the algorithms classified by measures of dissimilarity.
Method that calculates the behavior of dissimilarity measures by algorithm, so we can evaluate which of the different measures of dissimilarity used by the algorithms presents the best behavior. This method should be used to determine which dissimilarity measure has the best behavior for external evaluation measures.
# NOT RUN {
result = clustering(
df = cluster::agriculture,
min = 4,
max = 5,
algorithm='kmeans_rcpp',
metrics=c("f_measure"),
attributes = TRUE
)
evaluate_best_validation_external_by_metrics(result)
# }
Run the code above in your browser using DataLab