Repository navigation
MAINT: numpy compat, keep old rcond in lstsq - #4384
Merged
Merged
Conversation
Member
Author
|
all rcond are gone from the test logs merge when appveyor is finished |
Codecov Report
@@ Coverage Diff @@
## master #4384 +/- ##
=======================================
Coverage 79.96% 79.96%
=======================================
Files 560 560
Lines 84154 84154
Branches 9534 9534
=======================================
Hits 67295 67295
+ Misses 14641 14640 -1
- Partials 2218 2219 +1
Continue to review full report at Codecov.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
see #3994 numpy changes default rcond in lstsq
we get many warnings in the unit tests with recent numpy
"To use the future default and silence this warning we advise to pass
rcond=None, to keep using the old, explicitly passrcond=-1."This PR adds
rcond=-1to maintain the old behavior.More generally, we might want to switch to a different behavior with rcond proportional to sqrt(nobs)
but this PR is just maintenance.
aside: There is a copy of a lstsq function in statsmodels.tools.linalg based on scipy linalg, which I guess is currently not in use. uses cond instead of rcond. I didn't make any changes there.