Learn R Programming

Clustering (version 1.7.3)

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

Description

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

Usage

mini_kmeans_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 validation

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