haversine
This is an old revision of the document!
scikit-learn functions
- The sklearn.metrics.pairwise.haversine_distances function was added in 0.21.0
- The 0.21.0 was released on 2019-05
Ref:-
- https://scikit-learn.org/dev/whats_new/v0.21.html#id16 - changelog entry
- https://scikit-learn.org/dev/whats_new/v0.21.html#version-0-21-0 - shows the release date
- Sample usage: https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/metrics/tests/test_pairwise.py → test_haversine_distances(). This function also contains a slower implementation. Afterwards, compare the timings of the native scikit-learn function and its slower implementation.
haversine.1602791259.txt.gz · Last modified: 2020/10/15 19:47 by prasanthi