-
Notifications
You must be signed in to change notification settings - Fork 95
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
Align with old meica #952
Align with old meica #952
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #952 +/- ##
==========================================
+ Coverage 89.59% 89.68% +0.09%
==========================================
Files 26 26
Lines 3478 3482 +4
Branches 614 615 +1
==========================================
+ Hits 3116 3123 +7
+ Misses 213 211 -2
+ Partials 149 148 -1 ☔ View full report in Codecov by Sentry. |
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!
Yes, I can test this. To confirm, you want to compare the kundu tree modified here to the kundu tree that is used in the current version of tedana? |
Correct. Compare current kundu tree to the kundu tree used in this PR. Thank you. |
I'll try and jump on this at some point, but might be just a bit... Sounds straightforward enough |
Co-authored-by: Taylor Salo <salot@pennmedicine.upenn.edu>
I made all the changes we discussed a few months ago and this should now be ready to review & hopefully merge. I updated the opening comment to detail everything that is or isn't changing there. Of note, I originally called this a breaking change, but, since we decided to keep the same tree as our default, this is no longer a breaking change. Since this is both some code changes and explanatory documentation, I wouldn't mind a few extra eyes to make sure the documentation is clear. Having a few people run this to make sure nothing surprising happens on real data would also be useful. (@tsalo @eurunuela @dowdlelt @goodalse2019 @n-reddy ) |
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.
Tested on 60 datasets with expected outcomes: for 30 datasets, meica accepted components that tedana_orig rejected. Out of these 30, 8 datasets had high (>20%) variance explained by the changed classification components.
Documentation LGTM!
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! Just a minor typo fix.
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.
Thank you!
@n-reddy Can you re-approve after the last few updates? |
Closes #929.
While working on the decision tree modularization, we noticed that the tedana decision tree had a difference from the older MEICA decision tree. Components that used to be classified as midK could later be ignored rather than rejected, but in tedana, once they were rejected, they couldn't later be ignored. More details are in #929. This PR should address this issue.
Changes proposed in this pull request:
kundu.json
was copied totedana_orig.json
meica.json
is similar tokundu.json
, but was edited to include aprovisionalreject
intermediate classification. This is what was originally called mid kappa ormidk
That is used to allow the same components to be evaluated across multiple nodes and eventually rejected. This should match the decision tree steps in MEICA v2.5.tedana_orig
andmeica
. Whiletedana_orig
rejects more, everything it rejected seemed reasonable to reject. For nowtedana_orig
(formerlykundu
) will remain the default and this with NOT be labeled abreaking change
[tedana_only/meica].[tex/png]
flow charts were updated to reflect the above changesreferences.bib
now points todoi = {10.6084/m9.figshare.25251433.v2}
but version 2 does not yet exist. Once others are happy with these newtex/png
files I'll upload them to figshare to make version 2..rst
files and in function doc strings.tedana
usingkundu
as the three it will log a warning and then run usingtedana_only
log_extra_info
fields. When Black was run on these json files, it make additional style changes._comment
text intedana_orig.json
was also edited to highlight the points where it differs frommeica.json