pysal / mgwr

Multiscale Geographically Weighted Regression (MGWR)
https://mgwr.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
368 stars 126 forks source link

Fixed typo in covariate names #140

Closed trietmnj closed 10 months ago

trietmnj commented 10 months ago

Covariate names were stored as x_name in MGWRResult instead of the name_x convention used everywhere else, leading to MGWRResult.summary(), summaryGLM(), and summaryMGWR() unable to display the covariate names even if they are specified. Just a simple typo correction.

https://github.com/pysal/mgwr/blob/5b484efa923627161df324a2caa741f57263a455/mgwr/gwr.py#L1284 https://github.com/pysal/mgwr/blob/5b484efa923627161df324a2caa741f57263a455/mgwr/summary.py#L17 https://github.com/pysal/mgwr/blob/5b484efa923627161df324a2caa741f57263a455/mgwr/summary.py#L62