Skip to content

[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

Merged

Conversation

thomasjpfan
Copy link
Member

Reference Issues/PRs

Partially addresses #9250

Any other comments?

CC @NicolasHug @adrinjalali

Copy link
Member

@NicolasHug NicolasHug left a 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

@adrinjalali
Copy link
Member

tests failing @thomasjpfan

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

LGTM!

Thanks @thomasjpfan

@thomasjpfan
Copy link
Member Author

Can't import fabs, it is cimported. :(

from ._kernel_pca import KernelPCA
from ._sparse_pca import SparsePCA, MiniBatchSparsePCA
from ._truncated_svd import TruncatedSVD
from ._fastica_ import FastICA, fastica
Copy link
Member

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 _?

Copy link
Member

Choose a reason for hiding this comment

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

yes please

Copy link
Member

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

Copy link
Member

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 :)

Copy link
Member

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.

@qinhanmin2014
Copy link
Member

Let's rename _fastica_ to _fastica?

@qinhanmin2014
Copy link
Member

should we ignore the flake8 errors? @thomasjpfan

@thomasjpfan
Copy link
Member Author

Yea we have been ignore flake8 errors that were already present in the file to make it easier for PRs to merge.

@qinhanmin2014 qinhanmin2014 merged commit 5756a99 into scikit-learn:master Oct 28, 2019
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.

4 participants