Skip to content

[MRG] Fix test_sag_regressor by setting random_state#13506

Merged
qinhanmin2014 merged 1 commit intoscikit-learn:masterfrom
NicolasHug:test_sag_regressor_fix
Mar 24, 2019
Merged

[MRG] Fix test_sag_regressor by setting random_state#13506
qinhanmin2014 merged 1 commit intoscikit-learn:masterfrom
NicolasHug:test_sag_regressor_fix

Conversation

@NicolasHug
Copy link
Copy Markdown
Member

@NicolasHug NicolasHug commented Mar 24, 2019

Reference Issues/PRs

Fixes #13376

What does this implement/fix? Explain your changes.

test_sag_solver has been failing on multiple PRs already e.g. #12069, #13496 (comment)

This fix sets the random state of Ridge, uses 50 instead of 20 iterations and remove convergence warning ignore, as recommended by @ogrisel in the original issue. There is no significant runtime difference.

Any other comments?

@qinhanmin2014 qinhanmin2014 merged commit 6d5f816 into scikit-learn:master Mar 24, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
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.

test_sag_regressor failure on 32 bit Python under Windows on sparse data

2 participants