sklearn.metrics.pairwise.cosine_distances(X, Y=None) [source]
Compute cosine distance between samples in X and Y.
Cosine distance is defined as 1.0 minus the cosine similarity.
Read more in the User Guide.
| Parameters: | 
  |  
|---|---|
| Returns: | 
  |  
    © 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
    http://scikit-learn.org/stable/modules/generated/sklearn.metrics.pairwise.cosine_distances.html