Skip to content

[MRG] Deprecate all of utils.testing except all_estimators - #15367

Merged
glemaitre merged 15 commits into
scikit-learn:masterfrom
NicolasHug:all_est
Oct 28, 2019
Merged

glemaitre merged 15 commits into
scikit-learn:masterfrom
NicolasHug:all_est

Conversation

@NicolasHug

Copy link
Copy Markdown
Member

Put all_estimators in utils now.

Should finish the utils deprecations of #6616 (comment)

@thomasjpfan @adrinjalali @glemaitre ;)

@thomasjpfan

Copy link
Copy Markdown
Member

We should update classes.rst and utilities.rst to point to the new path.

Comment thread doc/whats_new/v0.22.rst Resolved
Comment thread sklearn/utils/__init__.py Resolved

@adrinjalali adrinjalali left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. I just noticed we may be importing all_estimators now from _testing. We should only import it from utils.

@NicolasHug

Copy link
Copy Markdown
Member Author

We should only import it from utils.

yes, CI should be catching these

@adrinjalali adrinjalali self-assigned this Oct 28, 2019

@adrinjalali adrinjalali left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@NicolasHug

Copy link
Copy Markdown
Member Author

It's green \o/

Let's get it in before any more conflicts araise please @glemaitre @thomasjpfan ^^

@glemaitre
glemaitre merged commit b92455a into scikit-learn:master Oct 28, 2019
@glemaitre

Copy link
Copy Markdown
Member

Thanks @NicolasHug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants