sklearn.metrics.pairwise
.paired_manhattan_distances¶
-
sklearn.metrics.pairwise.
paired_manhattan_distances
(X, Y)[source]¶ Compute the L1 distances between the vectors in 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,)