-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Optics #11954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
AFAIK, at the moment Is this a feature request? Funny enough, the I've noticed the documentation of |
And yet, you can use a callable arbitrary distance
|
I'm using callable functions, thanks!
…On Sat, Sep 1, 2018, 11:05 AM Joel Nothman ***@***.***> wrote:
And yet, you can use a callable arbitrary distance
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11954 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC1EWCAjp6cJf5A8PzUkJawLiw5HGDE9ks5uWpRGgaJpZM4WUmcb>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Unknown metric haversine. Valid metrics are ['euclidean', 'l2', 'l1', 'manhattan', 'cityblock', 'braycurtis', 'canberra', 'chebyshev', 'correlation', 'cosine', 'dice', 'hamming', 'jaccard', 'kulsinski', 'mahalanobis', 'matching', 'minkowski', 'rogerstanimoto', 'russellrao', 'seuclidean', 'sokalmichener', 'sokalsneath', 'sqeuclidean', 'yule', 'wminkowski'], or 'precomputed', or a callable
Steps/Code to Reproduce
from sklearn.cluster import OPTICS
opt = OPTICS(min_samples=5,metric='haversine')
opt.fit_predict(lat_lng)
Expected Results
Actual Results
Versions
The text was updated successfully, but these errors were encountered: