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 of shape (n_samples, n_features)
Yarray-like of shape (n_samples, n_features)
Returns
distancesndarray of shape (n_samples,)

© 2007–2020 The scikit-learn developers
Licensed under the 3-clause BSD License.
https://scikit-learn.org/0.24/modules/generated/sklearn.metrics.pairwise.paired_euclidean_distances.html