sklearn.metrics.calinski_harabaz_score(X, labels)
[source]
Compute the Calinski and Harabaz score.
It is also known as the Variance Ratio Criterion.
The score is defined as ratio between the within-cluster dispersion and the between-cluster dispersion.
Read more in the User Guide.
Parameters: |
|
---|---|
Returns: |
|
[1] | T. Calinski and J. Harabasz, 1974. “A dendrite method for cluster analysis”. Communications in Statistics |
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.metrics.calinski_harabaz_score.html