pam_euclidean_method: Method that runs the pam algorithm using the Euclidean metric...

View source: R/pam.R

pam_euclidean_methodR Documentation

Method that runs the pam algorithm using the Euclidean metric to make an external or internal validation of the cluster.

Description

Method that runs the pam algorithm using the Euclidean metric to make an external or internal validation of the cluster.

Usage

pam_euclidean_method(dt, clusters, columnClass, metric)

Arguments

dt

Matrix or data frame with the set of values to be applied to the algorithm.

clusters

It's an integer that indexes the number of clusters we want to create.

metric

It's 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.

Value

Return a list with both the internal and external evaluation of the grouping.


laperez/Clustering documentation built on April 23, 2024, 3:41 a.m.