-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ENH: Add GED transformer #13259
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
base: main
Are you sure you want to change the base?
ENH: Add GED transformer #13259
Conversation
Already have a failure but fortunately it's just a tol issue I think:
I would just bump the |
Thanks! It might be that the small difference between filters_ will propagate and increase in patterns_, so rtol/atol won't be much of help for patterns_. But let's see |
Different architectures, macos-13 is Intel x86_64 and macos-latest is ARM / M1. And Windows also failed, could be use of MKL there or something. I'm cautiously optimistic it's just floating point errors... |
@larsoner, I think I covered tests for the core GEDTransformer cases. Could you check that it's enough and I can move to the next step? |
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.
Great that the assert
statements are passing! Just a few comments below. Also, can you see if you can get closer to 100% coverage here?
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.
Just a couple more comments.
FYI I modified your top comment to have checkboxes (you can see how it's done if you go to edit it yourself) and a rough plan. Can you see if the plan is what you have in mind and update accordingly if needed? Then I can see where you (think you) are after your next push, and when you ask "okay to move on" I'll know what you want to do next 😄
Thanks Eric!
That's a cool tool, like that! Will do
Alright :) |
@larsoner, I think mostly everything I planned and didn't plan to do for this part is done. About making |
It will need to be added to |
Pushed #13315 (which was green) and merged the changes into this branch, if it doesn't come back green then it suggests there is something odd about this branch but I'd be surprised. I should be able to look Monday! |
... I also clicked the "Ready for Review" button and changed the title |
@larsoner, I checked in the last commits whether this MxNE-related failure is the only problem by skipping it - tests came back green |
@Genuster can you replicate locally? I can't. If someone can, then they could |
What does this implement/fix?
Adds transformer for generalized eigenvalue decomposition (or approximate joint diagonalization) of covariance matrices.
It generalizes xdawn, csp, ssd, and spoc algorithms.
Additional information
Steps:
assert_allclose
calls in codeassert_allclose
calls in codeThen it should be ready for merge!