From 44dd8de8cadf46f97705afa9afd75b0f64d65af1 Mon Sep 17 00:00:00 2001 From: Amit Sharma Date: Mon, 10 Jan 2022 14:14:50 +0530 Subject: [PATCH] Version Bump: v0.7 (#355) --- MANIFEST.in | 2 ++ docs/source/code_repo.rst | 31 ++++++++++++++++++++ docs/source/conf.py | 2 +- docs/source/dowhy.causal_estimators.rst | 8 +++++ docs/source/dowhy.causal_identifiers.rst | 29 +++++++++++++++++++ docs/source/dowhy.graph_learners.rst | 37 ++++++++++++++++++++++++ docs/source/dowhy.rst | 10 +++++++ docs/source/dowhy.utils.rst | 16 ++++++++++ dowhy/VERSION | 2 +- setup.py | 5 ++-- 10 files changed, 138 insertions(+), 4 deletions(-) create mode 100644 docs/source/dowhy.causal_identifiers.rst create mode 100644 docs/source/dowhy.graph_learners.rst diff --git a/MANIFEST.in b/MANIFEST.in index b28b62ee46..3ac655de8e 100755 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,7 @@ include requirements.txt include requirements-plotting.txt +include requirements-test.txt +include CONTRIBUTING.md include LICENSE include dowhy/VERSION recursive-include docs * diff --git a/docs/source/code_repo.rst b/docs/source/code_repo.rst index c9fafa0e75..199684abfc 100644 --- a/docs/source/code_repo.rst +++ b/docs/source/code_repo.rst @@ -6,6 +6,37 @@ DoWhy is hosted on GitHub. You can browse the code in a html-friendly format `here `_. + +v0.7: Better Refuters for unobserved confounders and placebo treatment +---------------------------------------------------------------------- +* **[Major]** Faster backdoor identification with support for minimal adjustment, maximal adjustment + or exhaustive search. More test coverage for identification. + +* **[Major]** Added new functionality of causal discovery [Experimental]. + DoWhy now supports discovery algorithms from external libraries like CDT. + `[Example notebook] `_ + +* **[Major]** Implemented ID algorithm for causal identification. [Experimental] + +* Added friendly text-based interpretation for DoWhy's effect estimate. + +* Added a new estimation method, distance matching that relies on a distance + metrics between inputs. + +* Heuristics to infer default parameters for refuters. + +* Inferring default strata automatically for propensity score stratification. + +* Added support for custom propensity models in propensity-based estimation + methods. + +* Bug fixes for confidence intervals for linear regression. Better version of + bootstrap method. + +* Allow effect estimation without need to refit the model for econml estimators + +Big thanks to @AndrewC19, @ha2trinh, @siddhanthaldar, and @vojavocni + v0.6: Better Refuters for unobserved confounders and placebo treatment ---------------------------------------------------------------------- diff --git a/docs/source/conf.py b/docs/source/conf.py index d5cdfb6783..edf1094dc7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -24,7 +24,7 @@ author = 'Amit Sharma, Emre Kiciman' # The short X.Y version -version = '0.6' +version = '0.7' # The full version, including alpha/beta/rc tags release = '' diff --git a/docs/source/dowhy.causal_estimators.rst b/docs/source/dowhy.causal_estimators.rst index b16351c54e..0af4412a68 100755 --- a/docs/source/dowhy.causal_estimators.rst +++ b/docs/source/dowhy.causal_estimators.rst @@ -12,6 +12,14 @@ dowhy.causal\_estimators.causalml module :undoc-members: :show-inheritance: +dowhy.causal\_estimators.distance\_matching\_estimator module +------------------------------------------------------------- + +.. automodule:: dowhy.causal_estimators.distance_matching_estimator + :members: + :undoc-members: + :show-inheritance: + dowhy.causal\_estimators.econml module -------------------------------------- diff --git a/docs/source/dowhy.causal_identifiers.rst b/docs/source/dowhy.causal_identifiers.rst new file mode 100644 index 0000000000..73a5d5051f --- /dev/null +++ b/docs/source/dowhy.causal_identifiers.rst @@ -0,0 +1,29 @@ +dowhy.causal\_identifiers package +================================= + +Submodules +---------- + +dowhy.causal\_identifiers.backdoor module +----------------------------------------- + +.. automodule:: dowhy.causal_identifiers.backdoor + :members: + :undoc-members: + :show-inheritance: + +dowhy.causal\_identifiers.id\_identifier module +----------------------------------------------- + +.. automodule:: dowhy.causal_identifiers.id_identifier + :members: + :undoc-members: + :show-inheritance: + +Module contents +--------------- + +.. automodule:: dowhy.causal_identifiers + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/source/dowhy.graph_learners.rst b/docs/source/dowhy.graph_learners.rst new file mode 100644 index 0000000000..e919b8e409 --- /dev/null +++ b/docs/source/dowhy.graph_learners.rst @@ -0,0 +1,37 @@ +dowhy.graph\_learners package +============================= + +Submodules +---------- + +dowhy.graph\_learners.cdt module +-------------------------------- + +.. automodule:: dowhy.graph_learners.cdt + :members: + :undoc-members: + :show-inheritance: + +dowhy.graph\_learners.ges module +-------------------------------- + +.. automodule:: dowhy.graph_learners.ges + :members: + :undoc-members: + :show-inheritance: + +dowhy.graph\_learners.lingam module +----------------------------------- + +.. automodule:: dowhy.graph_learners.lingam + :members: + :undoc-members: + :show-inheritance: + +Module contents +--------------- + +.. automodule:: dowhy.graph_learners + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/source/dowhy.rst b/docs/source/dowhy.rst index 4873e84c3e..8b62aeb3ef 100644 --- a/docs/source/dowhy.rst +++ b/docs/source/dowhy.rst @@ -9,9 +9,11 @@ Subpackages dowhy.api dowhy.causal_estimators + dowhy.causal_identifiers dowhy.causal_refuters dowhy.data_transformers dowhy.do_samplers + dowhy.graph_learners dowhy.interpreters dowhy.utils @@ -82,6 +84,14 @@ dowhy.do\_sampler module :undoc-members: :show-inheritance: +dowhy.graph\_learner module +--------------------------- + +.. automodule:: dowhy.graph_learner + :members: + :undoc-members: + :show-inheritance: + dowhy.interpreter module ------------------------ diff --git a/docs/source/dowhy.utils.rst b/docs/source/dowhy.utils.rst index 2d32ed26fa..37b36abe3e 100644 --- a/docs/source/dowhy.utils.rst +++ b/docs/source/dowhy.utils.rst @@ -28,6 +28,22 @@ dowhy.utils.dgp module :undoc-members: :show-inheritance: +dowhy.utils.graph\_operations module +------------------------------------ + +.. automodule:: dowhy.utils.graph_operations + :members: + :undoc-members: + :show-inheritance: + +dowhy.utils.ordered\_set module +------------------------------- + +.. automodule:: dowhy.utils.ordered_set + :members: + :undoc-members: + :show-inheritance: + dowhy.utils.propensity\_score module ------------------------------------ diff --git a/dowhy/VERSION b/dowhy/VERSION index 5a2a5806df..eb49d7c7fd 100755 --- a/dowhy/VERSION +++ b/dowhy/VERSION @@ -1 +1 @@ -0.6 +0.7 diff --git a/setup.py b/setup.py index fe36cba709..2db85b8c80 100755 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ license='MIT', long_description=long_description, url='https://github.com/microsoft/dowhy', # Optional - download_url='https://github.com/microsoft/dowhy/archive/v0.6.tar.gz', + download_url='https://github.com/microsoft/dowhy/archive/v0.7.tar.gz', author='Amit Sharma, Emre Kiciman', classifiers=[ # Optional 'Development Status :: 4 - Beta', @@ -47,11 +47,12 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], keywords='causality machine-learning causal-inference statistics graphical-model', packages=find_packages(exclude=['docs', 'tests']), - python_requires='>=3.5', + python_requires='>=3.6', install_requires=install_requires, extras_require=extras_require, include_package_data=True,