
Last chance! 50% off unlimited learning
Sale ends in
Method that calculates which algorithm and which metric behaves best for the datasets provided.
evaluate_best_validation_internal_by_metrics(df, metric)
Data matrix or data frame with the result of running the clustering algorithm.
It's a string with the metric to evaluate.
A data.frame with the algorithms classified by measures of dissimilarity.
This method groups the data by algorithm and distance measure, instead of obtaining the best attribute from the data set.
# NOT RUN {
result = clustering(
df = cluster::agriculture,
min = 4,
max = 5,
algorithm='gmm',
metrics=c("Precision","Connectivity")
)
evaluate_best_validation_internal_by_metrics(result,"Connectivity")
# }
Run the code above in your browser using DataLab