-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] MNT Make modules private in decomposition #15344
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] MNT Make modules private in decomposition #15344
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.
missing cdnmf_fast
Also missing _online_lda_fast in gitignore and tests I think
tests failing @thomasjpfan |
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!
Thanks @thomasjpfan
Can't import fabs, it is cimported. :( |
sklearn/decomposition/__init__.py
Outdated
from ._kernel_pca import KernelPCA | ||
from ._sparse_pca import SparsePCA, MiniBatchSparsePCA | ||
from ._truncated_svd import TruncatedSVD | ||
from ._fastica_ import FastICA, fastica |
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.
should we remove the trailing _
?
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.
yes please
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.
We typically haven't for the other instances, maybe we can leave it for a post-process PR
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.
My intention is to make use of this chance to get rid of some bad file names :)
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.
Sure. All I'm saying is, there are other files that we have renamed to _file_.py
that are already in master.
Let's rename |
This reverts commit a4944e5.
should we ignore the flake8 errors? @thomasjpfan |
Yea we have been ignore flake8 errors that were already present in the file to make it easier for PRs to merge. |
Reference Issues/PRs
Partially addresses #9250
Any other comments?
CC @NicolasHug @adrinjalali