oturns / geosnap

The Geospatial Neighborhood Analysis Package
https://oturns.github.io/geosnap-guide
BSD 3-Clause "New" or "Revised" License
247 stars 32 forks source link

parameterize weights in `transition` #239

Closed knaaptime closed 3 years ago

knaaptime commented 4 years ago

the Community.transition method creates a weights object internally, but doesnt allow options to be passed (e.g. specifying the number of neighbors to a KNN weights). I think we should allow:

  1. users to pass their own W if they want, and
  2. provide a weights_kws argument (or similar) so users can provide additional parameters to internally-created Ws