Skip to content
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

replace sklearn's deprecated RandomizedPCA with PCA #87

Merged
merged 2 commits into from Nov 26, 2018
Merged

Conversation

tyarkoni
Copy link
Contributor

Replaces RandomizedPCA with PCA—the former has been removed in sklearn. There's now no need to explicitly set the solver to randomized, as svd_solver="auto" by default, which automatically opts for the randomized solver if dimensionality is high.

Also adds checks to make sure the number of requested components doesn't exceed the max available.

@tyarkoni tyarkoni merged commit 948ce7e into master Nov 26, 2018
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.

None yet

1 participant