Skip to content
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

Remove use of CausalModel from test files and notebooks #1217

Open
38 tasks
rahulbshrestha opened this issue Jun 27, 2024 · 0 comments
Open
38 tasks

Remove use of CausalModel from test files and notebooks #1217

rahulbshrestha opened this issue Jun 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rahulbshrestha
Copy link
Contributor

rahulbshrestha commented Jun 27, 2024

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

  • /tests/causal_refuters/test_assess_overlap.py
  • /tests/causal_refuters/test_add_unobserved_common_cause.py
  • tests/causal_refuters
  • tests/causal_identifiers/test_optimize_backdoor.py
  • tests/causal_identifiers/test_frontdoor_identifier.py
  • tests/causal_estimators/test_two_stage_regression_estimator.py
  • tests/causal_estimators/test_econml_estimator.py
  • tests/causal_estimators/test_causalml_estimator.py
  • test_causal_model.py
  • test_causal_graph.py

Notebooks

  • docs/source/example_notebooks/tutorial-causalinference-machinelearning-using-dowhy-econml.ipynb
  • docs/source/example_notebooks/sensitivity_analysis_testing.ipynb
  • docs/source/example_notebooks/sensitivity_analysis_nonparametric_estimators.ipynb
  • docs/source/example_notebooks/load_graph_example.ipynb
  • docs/source/example_notebooks/identifying_effects_using_id_algorithm.ipynb
  • docs/source/example_notebooks/graph_conditional_independence_refuter.ipynb
  • docs/source/example_notebooks/DoWhy-The Causal Story Behind Hotel Booking Cancellations.ipynb
  • docs/source/example_notebooks/dowhy-simple-iv-example.ipynb
  • docs/source/example_notebooks/dowhy-conditional-treatment-effects.ipynb
  • docs/source/example_notebooks/dowhy_twins_example.ipynb
  • docs/source/example_notebooks/dowhy_simple_example.ipynb
  • docs/source/example_notebooks/dowhy_refuter_notebook.ipynb
  • docs/source/example_notebooks/dowhy_refuter_assess_overlap.ipynb
  • docs/source/example_notebooks/dowhy_refutation_testing.ipynb
  • docs/source/example_notebooks/dowhy_ranking_methods.ipynb
  • docs/source/example_notebooks/dowhy_optimize_backdoor_example.ipynb
  • docs/source/example_notebooks/dowhy_multiple_treatments.ipynb
  • docs/source/example_notebooks/dowhy_mediation_analysis.ipynb
  • docs/source/example_notebooks/dowhy_lalonde_example.ipynb
  • docs/source/example_notebooks/dowhy_interpreter.ipynb
  • docs/source/example_notebooks/dowhy_ihdp_data_example.ipynb
  • docs/source/example_notebooks/dowhy_functional_api.ipynb
  • docs/source/example_notebooks/dowhy_example_effect_of_memberrewards_program.ipynb
  • docs/source/example_notebooks/dowhy_estimation_methods.ipynb
  • docs/source/example_notebooks/dowhy_demo_dummy_outcome_refuter.ipynb
  • docs/source/example_notebooks/dowhy_confounder_example.ipynb
  • docs/source/example_notebooks/dowhy_causal_discovery_example.ipynb
  • docs/source/example_notebooks/do_sampler_demo.ipynb

cc: @bloebp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant