Closed victor5as closed 1 month ago
It seems the notebook cannot be run due to seaborn
import. Can you prepare it without seaborn
? I know the plots look much better with it, but it would introduce another dependency then.
It seems the notebook cannot be run due to
seaborn
import. Can you prepare it withoutseaborn
? I know the plots look much better with it, but it would introduce another dependency then.
Yes, not a problem!
Seems there is another issue with the notebook:
https://github.com/py-why/dowhy/actions/runs/9130322477/job/25118726705?pr=1183#step:10:195
The lightgbm
package is not a requirement for DoWhy. Can you use a model from skelarn directly instead? Something like https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.HistGradientBoostingRegressor.html? I guess they might be similar and for the notebook, it should be sufficient.
Makes sense. I've updated the notebook to use HistGradientBoosting
.
Once the checks are done (except DCO), I will merge it.
Great work!!
Thank you again for all your help!
One more thing, can you add the notebook to the main examples overview in https://github.com/py-why/dowhy/blob/main/docs/source/example_notebooks/nb_index.rst? Maybe before or after the supply chain example?
Hi Patrick, I just added it. I hope I did it with the correct formatting! Thanks again.
@all-contributors please add @victor5as for code
@bloebp
I've put up a pull request to add @victor5as! :tada:
Added code for the Multiply-Robust Causal Change Attribution method in this paper:
New files:
dowhy/gcm/distribution_change_robust.py
docs/source/example_notebooks/gcm_cps2015_dist_change_robust.ipynb
tests/gcm/test_distribution_change_robust.py
Updated files:
docs/source/user_guide/causal_tasks/root_causing_and_explaining/distribution_change.rst