pycrostates.metrics.davies_bouldin_score#
- pycrostates.metrics.davies_bouldin_score(cluster)[source]#
Compute the Davies-Bouldin score.
This function computes the Davies-Bouldin score[1] with
sklearn.metrics.davies_bouldin_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 Davies-Bouldin score.
- score
Notes
For more details regarding the implementation, please refer to
sklearn.metrics.davies_bouldin_score(). This function was modified in order to use the absolute spatial correlation for distance computations instead of the euclidean distance.References