SciPy - Clustering and Distance
Given the following code:
What will be printed?
from scipy.cluster.hierarchy import linkage import numpy as np X = np.array([[1, 2], [3, 4], [5, 6]]) Z = linkage(X, method='complete') print(Z.shape)
What will be printed?
