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

FEA Add warning to control against runtime might when wanting to run comight #323

Merged
merged 7 commits into from
Oct 10, 2024

Conversation

adam2392
Copy link
Collaborator

@adam2392 adam2392 commented Sep 9, 2024

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Any other comments?

Copy link

codecov bot commented Sep 9, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Project coverage is 80.25%. Comparing base (7e9dc22) to head (00df78c).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
treeple/stats/forest.py 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
+ Coverage   80.21%   80.25%   +0.04%     
==========================================
  Files          24       24              
  Lines        2254     2259       +5     
  Branches      412      331      -81     
==========================================
+ Hits         1808     1813       +5     
  Misses        313      313              
  Partials      133      133              

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

@adam2392 adam2392 enabled auto-merge (squash) October 10, 2024 18:10
Copy link
Member

@sampan501 sampan501 left a comment

Choose a reason for hiding this comment

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

1 minor request, otherwise lgtm!

if covariate_index is None and isinstance(est.tree_estimator, MultiViewDecisionTreeClassifier):
warn(
"Covariate index is not defined, but a MultiViewDecisionTreeClassifier is used. "
"If using CoMIGHT, one should define the covariate index to permute."
Copy link
Member

Choose a reason for hiding this comment

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

I think we need a sentence here saying that MIGHT is being run

Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
@adam2392 adam2392 merged commit 6eaf495 into neurodata:main Oct 10, 2024
36 of 37 checks passed
@adam2392 adam2392 deleted the addwarning branch October 10, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants