Learn R Programming

Clustering (version 1.7)

kmeans_arma_method: Method that runs the KMeans_arma algorithm using the Euclidean metric to make an external or internal validation of the cluster

Description

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

Usage

kmeans_arma_method(dt, clusters, columnClass, metric)

Arguments

clusters

number of clusters

columnClass

is an integer with the number of columns, for example if a dataset has five column, we can select column four to calculate alidation

metric

metrics avalaible in the package. The metrics implemented are: entropy, variation_information,precision,recall,f_measure,fowlkes_mallows_index,connectivity,dunn,silhouette.

data

matrix or data frame

Value

returns a list with both the internal and external evaluation of the grouping