Skip to content

Commit

Permalink
add documentation to haversine_distances (scikit-learn#22791)
Browse files Browse the repository at this point in the history
Co-authored-by: Maren Westermann <[email protected]>
  • Loading branch information
marenwestermann and Maren Westermann committed Mar 12, 2022
1 parent aec4eaa commit 2d2fb52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sklearn/metrics/pairwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ def haversine_distances(X, Y=None):
X : array-like of shape (n_samples_X, 2)
Y : array-like of shape (n_samples_Y, 2), default=None
If `None`, uses `Y=X`.
Returns
-------
Expand Down

0 comments on commit 2d2fb52

Please sign in to comment.