Skip to content

Conversation

@mtralka
Copy link
Contributor

@mtralka mtralka commented Nov 11, 2021

Feature for #108

Add as_str keyword argument for GWR and MGWR object .summary(). Defaults to False. Passing True bypasses stdout and returns str

Usage

GWR

...
gwr_results = GWR(g_coords, g_y, g_X, gwr_bw).fit()
gwr_results.summary(as_str=True)

MGWR

...
mgwr_results = mgwr.fit()
mgwr_results.summary(as_str=True)

@codecov
Copy link

codecov bot commented Nov 11, 2021

Codecov Report

Merging #109 (cb135b3) into master (47af2ac) will decrease coverage by 0.11%.
The diff coverage is 37.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
- Coverage   89.14%   89.03%   -0.12%     
==========================================
  Files          12       12              
  Lines        2995     3000       +5     
==========================================
+ Hits         2670     2671       +1     
- Misses        325      329       +4     
Impacted Files Coverage Δ
mgwr/gwr.py 82.92% <37.50%> (-0.46%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47af2ac...cb135b3. Read the comment docs.

@TaylorOshan TaylorOshan merged commit 69bbba1 into pysal:master Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants