Method that runs the pam algorithm using the Euclidean metric to make an external or internal validation of the cluster.
pam_euclidean_method(dt, clusters, columnClass, metric)
matrix or data frame with the set of values to be applied to the algorithm.
number of clusters.
is an integer with the number of columns, for example if a dataset has five column, we can select column four to calculate alidation.
is a characters vector with the metrics avalaible in the package. The metrics implemented are: entropy, variation_information,precision,recall,f_measure,fowlkes_mallows_index,connectivity,dunn,silhouette.
returns a list with both the internal and external evaluation of the grouping.