pycrostates.metrics.calinski_harabasz_score#
- pycrostates.metrics.calinski_harabasz_score(cluster)[source]#
Compute the Calinski-Harabasz score.
This function computes the Calinski-Harabasz score[1] with
sklearn.metrics.calinski_harabasz_score()from a fitted Clustering instance.- Parameters:
- clusterCluster
Fitted clustering algorithm from which to compute score. For more details about current clustering implementations, check the Clustering section of the documentation.
- Returns:
- score
float The resulting Calinski-Harabasz score.
- score
Notes
For more details regarding the implementation, please refer to
sklearn.metrics.calinski_harabasz_score().References