-
Notifications
You must be signed in to change notification settings - Fork 763
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
Causal trees interpretation example #536
Causal trees interpretation example #536
Conversation
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. Thanks!
Hi @alexander-pv |
Hi, @himanData, |
Thank you. I actually get the same error for |
It seems that you just mistyped names. Please, check the names in the notebook. You can also check whether your causalml package is up-to-date or not by looking into |
I am using your .ipynb file. Also, I did update the causalml and mine is the same version as the one shown on your notebook |
I see. Did you install the package from source? |
I did it by !pip install casualml within the notebook |
The latest changes haven't been released in pypi/anaconda yet. Just install causalml from source. |
Proposed changes
Hi, I included
causal_trees_interpretation.ipynb
with an example of sklearn feature importance and shap for causal trees.The related PR of causal trees support in shap: shap/shap#2654
Additional minor changes:
builder.pyx
to make cython compilation work as expected.Types of changes
What types of changes does your code introduce to CausalML?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc. This PR template is adopted from appium.