-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
[ENH] Getting pvalue computation ready #222
Conversation
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
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.
This is basically just Coleman + new bootstrapping approach right?
Yeah with some flexibility in the API |
Sweet, I'll merge when CIs are green |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #222 +/- ##
==========================================
+ Coverage 88.48% 89.68% +1.19%
==========================================
Files 54 54
Lines 4891 4963 +72
==========================================
+ Hits 4328 4451 +123
+ Misses 563 512 -51 ☔ View full report in Codecov by Sentry. |
@adam2392 I think the only thing missing is coverage. I don't believe there are any unit tests for this code |
Will add |
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Lmk wdyt @sampan501 Thru testing, I noticed that the permutation forest is different in how it computes the pvalue. It needs to check opposite directionality, since the null is slightly different I think. (so i.e. a bug), but lmk if you spot an issue |
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.
Looks good except for some failed unit tests
Changes proposed in this pull request:
Suggested # of trees is >=6_000. Suggested number of permutations in the Coleman approach is 10_000 or greater.
Before submitting
section of the
CONTRIBUTING
docs.Writing docstrings section of the
CONTRIBUTING
docs.After submitting