pysal / tobler

Spatial interpolation, Dasymetric Mapping, & Change of Support
https://pysal.org/tobler
BSD 3-Clause "New" or "Revised" License
146 stars 30 forks source link

generalize regression approach #36

Closed knaaptime closed 4 years ago

knaaptime commented 4 years ago

currently, the function that does the heavy lifting in the regression approach is hardcoded to use pixel counts, but that precludes the ability to specify more complex models (e.g. log-transforming the pixel counts, adding interactions, or including more input data).

instead, we should allow the function to take a patsy-style model formulation as a string instead of assuming we know what the user wants in this line

knaaptime commented 4 years ago

resolved by #39