-
Notifications
You must be signed in to change notification settings - Fork 12
D0CRT
Accept Scikit-learn models directly instead of parameter dictionaries
#370
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
D0CRT
Accept Scikit-learn models directly instead of parameter dictionaries
#370
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #370 +/- ##
==========================================
- Coverage 98.10% 98.08% -0.02%
==========================================
Files 22 22
Lines 1159 1148 -11
==========================================
- Hits 1137 1126 -11
Misses 22 22 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I think it's better to remove the screening procedure from D0CRT and add the screening function and the fit_function in another file. |
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.
Thx. I think its' an improvement. Wondering if we can further simplify.
Would it actually make sense to have a |
This can provide confusion between |
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.
Almost ready to merge, thx !
|
||
# to explain the data. While d0CRT can use any estimator, its distillation step | ||
# restricts it from capturing variable interactions. A more advanced distillation | ||
# approach, such as d1CRT, may help overcome this limitation. |
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.
If we provide no implementation of d1CRT, we should not make any claim on it.
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.
I removed the last sentence
Co-authored-by: lionel kusch <[email protected]>
Co-authored-by: lionel kusch <[email protected]>
Co-authored-by: lionel kusch <[email protected]>
…f-parameter-dictionaries' of github.com:mind-inria/hidimstat into 369-d0crt-accept-scikit-learn-models-directly-instead-of-parameter-dictionaries
…y-instead-of-parameter-dictionaries
Co-authored-by: lionel kusch <[email protected]>
Co-authored-by: lionel kusch <[email protected]>
Co-authored-by: lionel kusch <[email protected]>
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.
Propose you small modification for improving the code.
Co-authored-by: lionel kusch <[email protected]>
Co-authored-by: lionel kusch <[email protected]>
Co-authored-by: lionel kusch <[email protected]>
…f-parameter-dictionaries' of github.com:mind-inria/hidimstat into 369-d0crt-accept-scikit-learn-models-directly-instead-of-parameter-dictionaries
…y-instead-of-parameter-dictionaries
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 for the change.
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, thx.
_fit_lasso
, replaced by cloned modelslasso_screen
for clarity