Version Bump: 0.7.1 (#398)
* updated test setup and added new version * removed advanced tests * updated readme
This commit is contained in:
Родитель
77906cd4ed
Коммит
33f0ff94d9
|
@ -38,7 +38,7 @@ jobs:
|
|||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
pytest -v -m "not advanced"
|
||||
- name: Check package consistency with twine
|
||||
run: |
|
||||
python setup.py check sdist bdist_wheel
|
||||
|
|
11
README.rst
11
README.rst
|
@ -37,19 +37,10 @@ For a quick introduction to causal inference, check out `amit-sharma/causal-infe
|
|||
|
||||
Documentation for DoWhy is available at `microsoft.github.io/dowhy <https://microsoft.github.io/dowhy/>`_.
|
||||
|
||||
.. raw:: html
|
||||
|
||||
<details>
|
||||
<summary><a><strong><em>Table of Contents</em></strong></summary>
|
||||
|
||||
.. i here comment toctree::
|
||||
.. i here comment :maxdepth: 4
|
||||
.. i here comment :caption: Contents:
|
||||
.. contents::
|
||||
|
||||
.. raw:: html
|
||||
|
||||
</details>
|
||||
.. contents:: **Contents**
|
||||
|
||||
News
|
||||
-----
|
||||
|
|
|
@ -6,6 +6,22 @@ DoWhy is hosted on GitHub.
|
|||
You can browse the code in a html-friendly format `here
|
||||
<https://github.com/Microsoft/dowhy>`_.
|
||||
|
||||
v0.7.1: Added Graph refuter. Support for dagitty graphs and external estimators
|
||||
--------------------------------------------------------------------------------------
|
||||
|
||||
* Graph refuter with conditional independence tests to check whether data conforms to the assumed causal graph
|
||||
|
||||
* Better docs for estimators by adding the method-specific parameters directly in its own init method
|
||||
|
||||
* Support use of custom external estimators
|
||||
|
||||
* Consistent structure for init_params for dowhy and econml estimators
|
||||
|
||||
* Add support for Dagitty graphs
|
||||
|
||||
* Bug fixes for GLM model, causal model with no confounders, and hotel case-study notebook
|
||||
|
||||
Thank you @EgorKraevTransferwise, @ae-foster, @anusha0409 for your contributions!
|
||||
|
||||
v0.7: Better Refuters for unobserved confounders and placebo treatment
|
||||
----------------------------------------------------------------------
|
||||
|
|
|
@ -24,7 +24,7 @@ copyright = '2020, Microsoft'
|
|||
author = 'Amit Sharma, Emre Kiciman'
|
||||
|
||||
# The short X.Y version
|
||||
version = '0.7'
|
||||
version = '0.7.1'
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = ''
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.7
|
||||
0.7.1
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[tool.pytest.ini_options]
|
||||
markers = [
|
||||
"advanced: not be to run each time. only on package updates."
|
||||
]
|
2
setup.py
2
setup.py
|
@ -39,7 +39,7 @@ setup(
|
|||
license='MIT',
|
||||
long_description=long_description,
|
||||
url='https://github.com/microsoft/dowhy', # Optional
|
||||
download_url='https://github.com/microsoft/dowhy/archive/v0.7.tar.gz',
|
||||
download_url='https://github.com/microsoft/dowhy/archive/v0.7.1.tar.gz',
|
||||
author='Amit Sharma, Emre Kiciman',
|
||||
classifiers=[ # Optional
|
||||
'Development Status :: 4 - Beta',
|
||||
|
|
|
@ -21,7 +21,9 @@ advanced_notebooks = [
|
|||
"dowhy_refuter_notebook.ipynb",
|
||||
"DoWhy-The Causal Story Behind Hotel Booking Cancellations.ipynb", # needs xgboost too
|
||||
# will be removed
|
||||
"dowhy_optimize_backdoor_example.ipynb"
|
||||
"dowhy_optimize_backdoor_example.ipynb",
|
||||
# applied notebook, not necessary to test each time
|
||||
"dowhy_ranking_methods.ipynb"
|
||||
]
|
||||
|
||||
# Adding the dowhy root folder to the python path so that jupyter notebooks
|
||||
|
@ -66,10 +68,12 @@ parameter_list=[]
|
|||
for nb in notebooks_list:
|
||||
if nb in advanced_notebooks:
|
||||
param = pytest.param(nb,
|
||||
marks=[pytest.mark.skip, pytest.mark.advanced],
|
||||
marks=[pytest.mark.advanced, pytest.mark.notebook],
|
||||
id=nb)
|
||||
else:
|
||||
param = pytest.param(nb, id=nb)
|
||||
param = pytest.param(nb,
|
||||
marks=[pytest.mark.notebook],
|
||||
id=nb)
|
||||
parameter_list.append(param)
|
||||
|
||||
@pytest.mark.parametrize("notebook_filename", parameter_list)
|
||||
|
|
Загрузка…
Ссылка в новой задаче