sklearn.metrics.pairwise.paired_euclidean_distances

sklearn.metrics.pairwise.paired_euclidean_distances(X, Y)[source]

Computes the paired euclidean distances between X and Y

Read more in the User Guide.

Parameters
Xarray-like, shape (n_samples, n_features)
Yarray-like, shape (n_samples, n_features)
Returns
distancesndarray (n_samples, )