py-why / dowhy

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
https://www.pywhy.org/dowhy
MIT License
6.88k stars 916 forks source link

Remove use of CausalModel from test files and notebooks #1217

Open rahulbshrestha opened 5 days ago

rahulbshrestha commented 5 days ago

Is your feature request related to a problem? Please describe. CausalModel is deprecated and should be removed from tutorials and test cases.

Describe the solution you'd like Replace it with the new API for effect estimation (https://github.com/py-why/dowhy/wiki/API-proposal-for-v1). The files that still use CausalModel are listed below. I will create a PR to replace in some of those files, but will likely not cover all, so this should serve as a record of the files that still needed to be changed.

Test files

Notebooks

cc: @bloebp