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
MRG, FIX: Test round-trip, fix EEGLAB ICA #8326
Conversation
On this branch I get the same plots as in #8308: @christian-oreilly @marcpabst can you try it on your datasets to see if it makes sense? I was able to unify the code so that no branching is required, which is nice. |
Okay this one is ready for review @agramfort @hoechenberger . We should wait to hear from @christian-oreilly and @marcpabst before merge, though |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a question, otherwise LGTM.
We need to do the same thing for n_components
, for sake of consistency.
Argh, I went to update the documentation, now I'm confused why we need |
@hoechenberger I'm beginning to wonder if we need |
All If it is like you say and we can get rid of the instability caused by choosing inappropriate |
Yet another example of our API being way too complicated. We've had so many issues with this… |
Okay let me see if I can write the docs properly |
Maybe to clarify, my understanding is:
|
(edited my above post a couple times) |
The code has this:
So I think the docs are correct -- ICA is fitted on the first
|
Now I wonder if using |
Oh ok, I got this mixed up then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once CI is green
Thanks @larsoner! I'll want to try this on some of our data now before we move forward with the API redesign, ok? |
* FIX: Dont destabilize pinv * FIX: sklearn * FIX: Fix for EEGLAB * TST: Better tests * FIX: Better logic for n_pca_components * FIX: Better tests * Fix typo [skip travis] Co-authored-by: Richard Höchenberger <richard.hoechenberger@gmail.com>
Closes #8325
Closes #8308
Closes #7657