sklearn.metrics.pairwise.paired_cosine_distances(X, Y)
[source]
Computes the paired cosine distances between X and Y
Read more in the User Guide.
Parameters: |
|
---|---|
Returns: |
|
The cosine distance is equivalent to the half the squared euclidean distance if each sample is normalized to unit norm
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.metrics.pairwise.paired_cosine_distances.html