bw {MultIS}R Documentation

Calculate the bw index

Description

Calculate the bw index

Usage

bw(distance, clusters, bw_balance = 1, ind_cluster = FALSE)

Arguments

distance

Distance or Dis-Similarity Matrix

clusters

The clustering to evaluate.

bw_balance

The balance [0, 1] between inner cluster similarity (Compactness) and the similarity between clusters (Separation). A balance value < 1 increases the importance of Compactness, whereas a value > 1 increases the importance of Separation.

ind_cluster

If true, the bw value for all individual clusters is returned.

Value

A score that describes how well the clustering fits the data.


[Package MultIS version 0.6.2 Index]