Compute the distance matrix from a vector array X and optional Y. This method takes either a vector array or a distance matrix, and returns a distance matrix. If the input is a vector array, the distances are computed. If the input is a distances matrix, it is returned instead. Th
(X, Y=None, metric="euclidean", n_jobs=1, **kwds)
source not stored for this graph (policy: none)