8000 WIP ENH Added `auto` option to `FastICA.whiten_solver` by Micky774 · Pull Request #23616 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

WIP ENH Added auto option to FastICA.whiten_solver #23616

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

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

Micky774
Copy link
Contributor
@Micky774 Micky774 commented Jun 14, 2022

Reference Issues/PRs

Follow-up to #22527

What does this implement/fix? Explain your changes.

Added auto option to FastICA.whiten_solver along w/ tests, beginning deprecation to adopt auto as default value for whiten_solver.

Any other comments?

For justification of >50x heuristic in choosing solver, please see this gist which contains the generating benchmark script as well as a copy of my results.

@glemaitre glemaitre self-requested a review June 28, 2022 12:40
Copy link
Member
@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member
@glemaitre glemaitre 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 @Micky774

@Micky774
Copy link
Contributor Author

@glemaitre I changed the warning a bit to be more explicit about future backwards incompatibility, per a conversation @thomasjpfan and I had. Just wanted to let you know in case it affects your review :)

@thomasjpfan
Copy link
Member

May you include a link to the benchmarks you did in the opening comment in this PR? This way it is easier to find when someone is trying to see why it is set to 50x.

@Micky774
Copy link
Contributor Author
Micky774 commented Jul 6, 2022

May you include a link to the benchmarks you did in the opening comment in this PR? This way it is easier to find when someone is trying to see why it is set to 50x.

Very good point, done!

@Micky774 Micky774 changed the title ENH Added auto option to FastICA.whiten_solver WIP ENH Added auto option to FastICA.whiten_solver Jul 6, 2022
@Micky774
Copy link
Contributor Author
Micky774 commented Jul 6, 2022

Changing to WIP until a better heuristic is found (or at least a better justification)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0