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:

X : array-like, shape (n_samples, n_features)

Y : array-like, shape (n_samples, n_features)

Returns:

distances : ndarray (n_samples, )

doc_scikit_learn
2017-01-15 04:26:35
Comments
Leave a Comment

Please login to continue.