Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spreg version 1.8 #163

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Spreg version 1.8 #163

merged 3 commits into from
Nov 5, 2024

Conversation

pedrovma
Copy link
Member

@pedrovma pedrovma commented Nov 5, 2024

Updates in version 1.8:

  • Added:
    -- spsearch .py: specification search strategies following Anselin, Serenini, Amaral (2024)
    -- Example Notebooks 5 to 17.

  • Modified:
    -- DGP can now create samples for binary models
    -- SUR (all varieties) now accepts simplified arguments specification based on pandas dataframes
    -- spreg now automatically converts sparse and full weights matrices to W
    -- other bug fixes and general improvements.

Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 10.18237% with 591 lines in your changes missing coverage. Please review.

Project coverage is 66.2%. Comparing base (9eabac4) to head (550c999).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
spreg/spsearch.py 3.2% 428 Missing ⚠️
spreg/dgp.py 12.9% 128 Missing ⚠️
spreg/sur.py 31.6% 13 Missing ⚠️
spreg/sur_error.py 37.5% 10 Missing ⚠️
spreg/sur_lag.py 64.3% 5 Missing ⚠️
spreg/sur_utils.py 64.3% 5 Missing ⚠️
spreg/user_output.py 60.0% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #163     +/-   ##
=======================================
- Coverage   69.3%   66.2%   -3.1%     
=======================================
  Files         43      44      +1     
  Lines      10426   10986    +560     
=======================================
+ Hits        7221    7270     +49     
- Misses      3205    3716    +511     
Files with missing lines Coverage Δ
spreg/__init__.py 100.0% <100.0%> (ø)
spreg/user_output.py 68.6% <60.0%> (-0.1%) ⬇️
spreg/sur_lag.py 57.2% <64.3%> (+0.3%) ⬆️
spreg/sur_utils.py 53.7% <64.3%> (+2.8%) ⬆️
spreg/sur_error.py 77.1% <37.5%> (-1.8%) ⬇️
spreg/sur.py 72.0% <31.6%> (-3.0%) ⬇️
spreg/dgp.py 9.3% <12.9%> (-0.8%) ⬇️
spreg/spsearch.py 3.2% <3.2%> (ø)

@pedrovma pedrovma merged commit 2b72839 into pysal:main Nov 5, 2024
8 of 10 checks passed
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.

1 participant