-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] make files private in sklearn.svm #15165
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
[MRG] make files private in sklearn.svm #15165
Conversation
I'll make them private |
Pinging the usual @thomasjpfan @rth @adrinjalali @glemaitre |
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.
Otherwise LGTM :)
@@ -8,6 +8,7 @@ | |||
# This is a set of 3-tuples consisting of | |||
# (new_module_name, deprecated_path, correct_import_path) | |||
_DEPRECATED_MODULES = { | |||
# TODO: Remove in 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.
line 6 says "remove the whole file in 0.24", we don't need this line :)
@thomasjpfan let's please merge before any more conflict appears |
from . import libsvm, liblinear | ||
from . import libsvm_sparse | ||
from . import _libsvm as libsvm | ||
from .import _liblinear as liblinear |
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.
This syntax error has been merged to master! Surprisingly, this is actually not considered a syntax error...
Make files in sklearn.svm private.
In particular libsvm, liblinear and libsvm_sparse aren't exposed in the
__init__
anymoretowards #9250