pysal / mgwr

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

how to print the detail results of gwr #97

Closed zlh1998ecnu closed 3 years ago

zlh1998ecnu commented 3 years ago

hello guys. does anybody could tell me how to print the detail results of gwr? Jupyter just told me that mgwr.gwr.GWRResults object at 0x000002043860BEB0. Does not mgwr pkg output a file such as csv?

i am totally a rookie... i will be grateful if someone could answer my confusion.

Ziqi-Li commented 3 years ago

Hi @zlh1998ecnu,

Thats a good point! We could probably add a function to export the results to a csv file. At the moment, you could follow this notebook to create a pandas.DataFrame with the local estimates and standard errors etc, and then export to a csv file.

zlh1998ecnu commented 3 years ago

thanks for your attention and advice. And I think a txt file would also helpful. I do appreciate the work you did. @Ziqi-Li