Skip to content
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

Disable computation of probabilities by default for MKDAChi2 #856

Merged
merged 17 commits into from
Jan 4, 2024

Conversation

adelavega
Copy link
Member

@adelavega adelavega commented Dec 21, 2023

Closes #855

  • Makes prior argument in MKDAChi2 optional, and only computes posterior probabilities based on prior if given
  • Renames outputs to match Neurosynth.org (consistency -> uniformity; specificity -> association)

@adelavega
Copy link
Member Author

Not sure why doc build is failing

@adelavega adelavega requested review from nicholst and tsalo December 21, 2023 19:41
@adelavega adelavega changed the title Disable computation of probabilites by default Disable computation of probabilites by default for MKDAChi2 Dec 21, 2023
@tsalo
Copy link
Member

tsalo commented Dec 21, 2023

Can you update your branch from main? Maybe that'll fix the docs build.

nimare/meta/cbma/mkda.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0e10f03) 88.47% compared to head (2d87817) 88.48%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #856   +/-   ##
=======================================
  Coverage   88.47%   88.48%           
=======================================
  Files          48       48           
  Lines        6333     6337    +4     
=======================================
+ Hits         5603     5607    +4     
  Misses        730      730           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tsalo tsalo changed the title Disable computation of probabilites by default for MKDAChi2 Disable computation of probabilities by default for MKDAChi2 Jan 4, 2024
Copy link
Member

Choose a reason for hiding this comment

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

Can't view this diff, did you purposely change something in this example notebook?

Copy link
Member Author

@adelavega adelavega Jan 4, 2024

Choose a reason for hiding this comment

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

yes, there was a reference to the old naming style for chi2

Copy link
Member Author

Choose a reason for hiding this comment

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

Restoring old notebook, as it needs updates that are out of the scope of this PR

nimare/meta/cbma/mkda.py Outdated Show resolved Hide resolved
nimare/meta/cbma/mkda.py Outdated Show resolved Hide resolved
@adelavega adelavega merged commit efae75e into main Jan 4, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable MKDAChi2 posterior probability outputs by default
3 participants