Skip to content

[MRG] minor user guide update: removed false claim about mandatory parameter that's actually optional - #13150

Merged
jnothman merged 1 commit into
scikit-learn:masterfrom
NicolasHug:randomized_pca_userguide
Feb 12, 2019
Merged

jnothman merged 1 commit into
scikit-learn:masterfrom
NicolasHug:randomized_pca_userguide

Conversation

@NicolasHug

Copy link
Copy Markdown
Member

Reference Issues/PRs

It is said in the user guide of PCA that n_components is mandatory when using svd_solver=randomized, but that's not true: the default (None) works just as the docstring says. n_components is set to min(n_samples, n_features).

What does this implement/fix? Explain your changes.

Any other comments?

@jnothman
jnothman merged commit 5486fd5 into scikit-learn:master Feb 12, 2019
@jnothman

Copy link
Copy Markdown
Member

Thanks

jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Feb 19, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants