Learn R Programming

Clustering (version 1.7.7)

evaluate_validation_internal_by_metrics: Evaluate internal validations by algorithm.

Description

Method that calculates which algorithm behaves best for the datasets provided.

Usage

evaluate_validation_internal_by_metrics(df)

Arguments

df

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

Value

A data.frame with all the algorithms that obtain the best results regardless of the dissimilarity measure used.

Details

It groups the results of the execution by algorithms.

Examples

Run this code
# NOT RUN {
result = clustering(
               df = cluster::agriculture,
               min = 4,
               max = 5,
               algorithm='kmeans_rcpp',
               metrics=c("Recall","Silhouette")
         )

evaluate_validation_internal_by_metrics(result)

# }
# NOT RUN {
evaluate_validation_internal_by_metrics(result$result)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab