Repository navigation
EHN Support unit-variance whitening for FastICA - #19490
Merged
Merged
Conversation
FastICA FastICA
np.linalg.multi_dot has shown to be faster for the dot product of 3 matrices. See: scikit-learn#17684 (comment)
Co-authored-by: Olivier Grisel <[email protected]>
Co-authored-by: Olivier Grisel <[email protected]>
This adds complexity to the code. IMO this must be simplified -- I'll come back to it then.
Co-authored-by: Olivier Grisel <[email protected]>
Co-authored-by: Olivier Grisel <[email protected]>
Co-authored-by: Olivier Grisel <[email protected]>
ogrisel
reviewed
Nov 5, 2021
ogrisel
reviewed
Nov 5, 2021
ogrisel
reviewed
Nov 5, 2021
ogrisel
approved these changes
Nov 5, 2021
ogrisel
left a comment
Member
There was a problem hiding this comment.
I put some comments above, but other than that LGTM!
Co-authored-by: Olivier Grisel <[email protected]>
Co-authored-by: Olivier Grisel <[email protected]>
Member
Author
|
The sole failing test in the CI is unrelated to those changes. |
glemaitre
reviewed
Nov 8, 2021
Co-authored-by: Guillaume Lemaitre <[email protected]>
Member
Author
|
I made myself suffer too with this PR. 😄 |
glemaitre
added a commit
to glemaitre/scikit-learn
that referenced
this pull request
Nov 29, 2021
Co-authored-by: Facundo Ferrín <[email protected]> Co-authored-by: Guillaume Lemaitre <[email protected]> Co-authored-by: Olivier Grisel <[email protected]>
samronsin
pushed a commit
to samronsin/scikit-learn
that referenced
this pull request
Nov 30, 2021
Co-authored-by: Facundo Ferrín <[email protected]> Co-authored-by: Guillaume Lemaitre <[email protected]> Co-authored-by: Olivier Grisel <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference Issues/PRs
Supersedes #13096
Fixes #13056
What does this implement/fix? Explain your changes.
FastICAhas an implementation peculiarity: usually, ICA whitening variance is unitary but the current implementation ofFastICAworks with an arbitrary variance for whitening.This PR:
FastICAusingwhiten='unit-variance'FastICAusingwhiten='arbitrary-variance'(the current behaviour)whitenAny other comments?
Currently adapting the PR to address @jnothman's specs:
FastICA():FastICA(whiten=True):FastICA(whiten='unit-variance'):FastICA(whiten='arbitrary-variance'):