-
Notifications
You must be signed in to change notification settings - Fork 78
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
Current weight plot method is time consuming for a large data set #123
Comments
Send a PR! What’s there is real naive, and relies mainly on the data frame
indexer rather than the precomputed id2i stuff. I was hoping to replace
what’s there with the splot function @slumnitz wrote, but what you’ve got
there is fine too.
On Wed, 31 Oct 2018 at 00:24 Wei Kang ***@***.***> wrote:
The current plot method for W
<https://github.com/pysal/libpysal/blob/master/libpysal/weights/weights.py#L1201>
is quite time consuming for a large data set. An example is given in the
notebook
<https://gist.github.com/weikang9009/503be3a551c84d92f25f26425b461785>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#123>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACJY805ijJpN6ayI25pbaiwLx3QsqKzsks5uqO3EgaJpZM4YDH4G>
.
--
Levi John Wolf
Lecturer in Quantitative Human Geography | University of Bristol
Fellow | Center for Spatial Data Science, University of Chicago
Steering Committee | Jean Golding Institute for Data Science, University of
Bristol
Director | Q-Step Program, School of Geographical Sciences, University of
Bristol
ljwolf.org
|
An alternative example with https://gist.github.com/darribas/8d8f931a4414a52d82480db4f37c183e IIRC their method is pretty quick, as it relies on |
A quicker plotting method is given in I think it is a great idea to offer the |
The data shader visualisation looks awesome! Since it is static, we could definitely integrate it into splot.libpysal as is. I would suggest to try and keep the current |
I think providing the fast plotting of spatial weights is great! But note that the function requires extra dependencies: |
ok, I am happy to give it a go and play with both functions on the weekend. Would you prefer an automatic switch with a warning as soon as numba is not present to the current splot functionality? Or should we include an argument in the API to choose between the two options? |
Stale issue message |
The current plot method for W is quite time consuming for a large data set. An example is given in the notebook.
The text was updated successfully, but these errors were encountered: