-
Notifications
You must be signed in to change notification settings - Fork 32
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
Improving FisherJenks #118
Comments
Do you happen to have Also, the Do either of these work for your use case? |
@ljwolf shall we maybe add a warning here mapclassify/mapclassify/classifiers.py Line 60 in 92054a9
|
Ah, I didn't notice there's import jenkspy
from mapclassify.classifiers import _fisher_jenks_means
import numpy as np
data = np.random.random(12000) * 5000
data = data.astype("f8") Here are the results. |
That is interesting! In any case, I would rather not add |
Right, it makes sense. You can shave off a few more seconds by adding cache to |
That would be very welcome! Thanks! |
… add a warning if numba is not installed. (pysal#118)
I would definitely not integrate jenkspy in your environment. Your library works perfectly in my tests, but jenkspy have some problematic outputs. I don't trust to outputs of jenkspy. |
The implemented
FisherJenks
classifier is very slow. I would like to suggest using jenkspy instead. It's written incython
and it's very fast.The text was updated successfully, but these errors were encountered: