[go: nahoru, domu]

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

MNT fix cd_fast.pyx warning issues #13397

Merged
merged 4 commits into from
Mar 5, 2019

Conversation

adrinjalali
Copy link
Member

Fixes #13394

This fixes issues with the "Objective did not converge...." warnings.

There were some indentation and missing else issues.

@adrinjalali
Copy link
Member Author

This also makes the tests in #12682 pass :)

@amueller
Copy link
Member
amueller commented Mar 5, 2019

can we test this some way? maybe making sure that something doesn't raise a warning?

@adrinjalali
Copy link
Member Author

can we test this some way? maybe making sure that something doesn't raise a warning?

I'll try to add some tests.

@amueller
Copy link
Member
amueller commented Mar 5, 2019

otherwise looks good btw

@adrinjalali
Copy link
Member Author

Added some tests, #12682 also include some tests checking for presence and absence of convergence warnings.

Copy link
Member
@amueller amueller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Copy link
Member
@agramfort agramfort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for messing up last week ...

@adrinjalali
Copy link
Member Author

I suppose I can merge then :)

@adrinjalali adrinjalali merged commit fc6d906 into scikit-learn:master Mar 5, 2019
@adrinjalali adrinjalali deleted the cd_fast/warning branch March 5, 2019 21:00
@GaelVaroquaux
Copy link
Member

Good job!!!

@amueller
Copy link
Member
amueller commented Mar 6, 2019

Sweet, thanks!

xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
* fix warning issues

* add comments

* add some tests

* pep8
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
* fix warning issues

* add comments

* add some tests

* pep8
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.

Confusing convergence warning in coordinate descent.
4 participants