libpysal icon indicating copy to clipboard operation
libpysal copied to clipboard

network weights

Open knaaptime opened this issue 6 years ago • 6 comments

we're toying with the idea of adding a functiont to compute kernel weights on a street network using pandana

this doesn't exactly walk through the process of creating those weights, but shows how you could use pandana to get your network kernel

edit: not a kernel specifically this is a nice discussion of the problem

knaaptime avatar Apr 05 '19 17:04 knaaptime

pysal/spaghetti#258

jGaboardi avatar Apr 05 '19 17:04 jGaboardi

Stale issue message

github-actions[bot] avatar Mar 01 '20 00:03 github-actions[bot]

KDE on networks is not as straightforward as in the 2-d planar space case. The complications are outlined in section 9.2.3 of

@book{okabe2012spatial, title={Spatial analysis along networks: statistical and computational methods}, author={Okabe, Atsuyuki and Sugihara, Kokichi}, year={2012}, publisher={John Wiley & Sons} }

These should be handled before we generate kernel based weights for the network.

sjsrey avatar Oct 07 '20 15:10 sjsrey

i think we can work on kernel issues in a separate push. It still makes sense to have network weights even if they dont satisfy all the properties of a kernel

knaaptime avatar Oct 17 '20 21:10 knaaptime

Note that network weights are already possible with spaghetti.Network.contiguityweights (see code here). For an example see the Network Spatial Weights notebook.

jGaboardi avatar Oct 23 '20 12:10 jGaboardi

https://gist.github.com/sgillies/2217756

jGaboardi avatar Oct 25 '20 18:10 jGaboardi