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
Basic support for multivalue categorical treatments #750
Basic support for multivalue categorical treatments #750
Conversation
"Imports are incorrectly sorted and/or formatted." - why and how should I sort/format them? :) |
There are instructions at https://github.com/py-why/dowhy/blob/main/docs/source/contributing/contributing-code.rst for running the auto-formatters and other checks during PR prep. The key command is:
Thanks! |
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.
thanks for this functionality @EgorKraevTransferwise .
I did not understand the utility of the effect_tt
since it is not used anywhere.
Can you add some tests for this functionality? And perhaps also update the conditional effects notebook to showcase this functionality?
Added a unit test for the multivalue usecase, which also illustrates the use of |
Very strange fail in Basically, in the code snippet below the
|
Sometimes, one may simply want to compute the ATE using DML since it offers ML-based first stage. We should support such calls where |
Ah, got it thanks! Fixed that bit and added a test for it. |
This DCO thing is really a hassle, any chance one of the repository owners could hit the override button? :) |
Hi @EgorKraevTransferwise , yes, until one sets up git to automatically sign, DCO can be a pain. There are instructions on how to fix the DCO for the PR in the details of the failure: https://github.com/py-why/dowhy/pull/750/checks?check_run_id=9571908626 |
Why didn't you use a CLA instead that each contributor has to sign only once, like FLAML does? I will jump through the hoops in this case, no problem, but surely this hassle will also discourage other would-be contributors? |
Tried creating a new PR with all the changes (it's just 3 files) and the correct commit message, but DCO still fails for some reason :( |
Closing this PR in favor of #768 |
Support multivalue categorical treatments in econml.py; add a utility method to CausalEstimator that returns the effect of the treatment that was actually used, and works with the multivalue changes