SciPy - Clustering and Distance
Identify the error in this code snippet for calculating Davies-Bouldin score:
from scipy.spatial.distance import davies_bouldin_score labels = [0, 0, 1, 1] data = [[1, 2], [1, 4], [10, 2], [10, 4]] score = davies_bouldin_score(data, labels) print(score)
