diana_euclidean_method: Method that runs the diana algorithm using the Euclidean...

View source: R/diana.R

diana_euclidean_methodR Documentation

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

Description

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

Usage

diana_euclidean_method(dt, clusters, 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.


Clustering documentation built on June 22, 2022, 5:07 p.m.