-
Notifications
You must be signed in to change notification settings - Fork 383
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
Add better error message if causal treatment features contain dropped features #1868
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1868 +/- ##
===========================================
+ Coverage 79.00% 93.34% +14.33%
===========================================
Files 19 93 +74
Lines 1324 4566 +3242
===========================================
+ Hits 1046 4262 +3216
- Misses 278 304 +26
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
This PR adds better error message if causal treatment features contain dropped features:
(responsibleai.exceptions.UserConfigValidationException: '{dropped_feature_name}' in treatment_features has been dropped during training the model)
Description
We added dropped_features where users can choose to drop certain features from the model. In the case when user adds causal component, while treatment features contain dropped features, we need to have a better error message saying "'{dropped_feature_name}' in treatment_features has been dropped during training the model"
Checklist