-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
MAINT Deprecate any import that is not from sklearn.neural_net… #14939
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
MAINT Deprecate any import that is not from sklearn.neural_net… #14939
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@rth does this have your +1 too ;) ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, aside for the comment below.
conftest.py
Outdated
# ensure these warnings are properly raised in the tests. | ||
collect_ignore_glob = [ | ||
"sklearn/neural_network/rbm.py", # 0.24 | ||
"sklearn/neural_network/multilayer_perceptron.py", # 0.24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would still prefer the approach as outlined in #14913 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Exactly the same as #14913 but with generic deprecation tools and tests that can be re-used for other modules