Implementation of the CH score [CalinskiHarabasz1974], that has shown to be one the most accurate way to compare clustering methods [MilliganCooper1985] [Tibshirani2001].
The CH score is:
Where \(B(k)\) and \(W(k)\) are between and within cluster sums of squares, with \(k\) clusters, and \(n\) the total number of points (models in this case).
| Parameters: |
|
|---|---|
| Returns: | the CH score |
| Parameters: |
|
|---|---|
| Returns: | a score (depends on ‘var’ argument) |
Displays a three dimensional scatter plot representing the result of the optimization.
| Parameters: |
|
|---|
A grid of heatmaps representing the result of the optimization.
| Parameters: |
|
|---|
| Parameters: |
|
|---|---|
| Returns: | the indexes of the columns not to be considered for the calculation of the z-score |