SciPy - Clustering and Distance
What is the output of this code snippet?
from scipy.cluster.hierarchy import linkage import numpy as np X = np.array([[1, 2], [3, 4], [5, 6]]) Z = linkage(X, method='single') print(Z.shape)
