Learn R Programming

chickn (version 1.2.3)

DBindex: DBindex

Description

Davies Bouldin index computation.

Usage

DBindex(X_cumsum, rowInd, Clusters, C, cluster_size, DistInter)

Arguments

X_cumsum

is a Filebacked Big Matrix, which contains column matrix cumulative sums.

rowInd

is a vector of the row indeces

Clusters

is a list of cluster assignment

C

is a matrix of the cluster centroids

cluster_size

is a vector of the cluster sizes

DistInter

is a Filebacked Big Matrix, which stores distances between a cluster centoid and signals in the cluster

Value

A value of the DB index