fuzzyclust.validity.alternative_dunn_index#

fuzzyclust.validity.alternative_dunn_index(X, U, V, m=2.0)[source]#

Alternative Dunn index (ADI) of the MATLAB toolbox.

The inter-cluster distance \(\min d(\mathbf{x},\mathbf{y})\) of Dunn’s index is bounded from below via the triangle inequality \(d(\mathbf{x},\mathbf{y})\ge|d(\mathbf{y},\mathbf{v}_j)-d(\mathbf{x},\mathbf{v}_j)|\), which is much cheaper to evaluate:

\[ADI = \min_{i}\min_{j\neq i}\left\{ \frac{\min_{\mathbf{x}\in C_i,\mathbf{y}\in C_j} |d(\mathbf{y},\mathbf{v}_j)-d(\mathbf{x},\mathbf{v}_j)|} {\max_{l}\max_{\mathbf{x},\mathbf{y}\in C_l} d(\mathbf{x},\mathbf{y})}\right\}.\]

Higher is better.