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

Implement DynamicDML #446

Merged
merged 36 commits into from
Aug 11, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
762e0e4
Implement DynamicDML
Mar 31, 2021
1070aea
Add performance tests and an example notebook
Apr 7, 2021
5f6da40
Add scores.
Apr 9, 2021
d8bc1f3
store some internal variables to allow calling from diased inference …
heimengqi Jun 4, 2021
6daf315
Swap t and j indexes to match the paper
Jul 29, 2021
0615d70
Update covariance matrix to include off-diagonal elements
Jul 29, 2021
7dc65b8
Add support for out of order groups
Jul 31, 2021
efd634d
Implement score
Jul 31, 2021
a508615
Merge branch 'master' into moprescu/dynamicdml
Aug 2, 2021
ac4dd70
Update docstring test outputs
Aug 2, 2021
a44a960
Fix merge issues
Aug 2, 2021
1950fd1
Address PR suggestions
Aug 2, 2021
28a92b6
Merge branch 'master' into moprescu/dynamicdml
Aug 2, 2021
4636257
Fix subscript printing in summary
Aug 3, 2021
9328a22
Address PR suggestions
Aug 5, 2021
24ca086
Update nuisance models in notebook
Aug 5, 2021
a39f1b5
Reverse effect indices to match paper
Aug 6, 2021
4210d1d
Add sample code to README
Aug 6, 2021
e7e7289
Merge branch 'master' into moprescu/dynamicdml
Aug 6, 2021
4cc1156
Adjust heterogeneity to depend only on features from the first period
Aug 6, 2021
e74067e
moved dynamic_dml to separate module. fixed remaining bugs in dgp. fi…
vsyrgkanis Aug 6, 2021
99e62e7
fixed ref in doc
vsyrgkanis Aug 6, 2021
a675564
Merge branch 'master' into moprescu/dynamicdml
vsyrgkanis Aug 6, 2021
1cf663a
doc bug
vsyrgkanis Aug 6, 2021
669c284
relaxed dynamci dml tests
vsyrgkanis Aug 6, 2021
0420656
fixed doctest
vsyrgkanis Aug 6, 2021
42c65dd
add ROI notebook
heimengqi Aug 8, 2021
8691c00
Merge branch 'master' into moprescu/dynamicdml
vsyrgkanis Aug 8, 2021
1c069e1
Merge branch 'master' into moprescu/dynamicdml
vsyrgkanis Aug 8, 2021
a5bd8e9
update setup to install jbl file
heimengqi Aug 9, 2021
e155ac6
Merge branch 'moprescu/dynamicdml' of https://github.com/microsoft/Ec…
heimengqi Aug 9, 2021
da8085d
update setup to install jbl file
heimengqi Aug 9, 2021
ebef40b
update roi notebook
heimengqi Aug 9, 2021
f0a5a29
Merge branch 'master' into moprescu/dynamicdml
heimengqi Aug 11, 2021
e77c568
Limit test paralellization
kbattocchi Aug 9, 2021
6aadad9
Merge branch 'master' into moprescu/dynamicdml
heimengqi Aug 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion econml/_cate_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def effect(self, X=None, *, T0, T1):
"""
Calculate the heterogeneous treatment effect :math:`\\tau(X, T0, T1)`.
The effect is calculatred between the two treatment points
The effect is calculated between the two treatment points
conditional on a vector of features on a set of m test samples :math:`\\{T0_i, T1_i, X_i\\}`.
Since this class assumes a linear effect, only the difference between T0ᵢ and T1ᵢ
matters for this computation.
Expand Down
7 changes: 6 additions & 1 deletion econml/dml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@
Orthogonal Statistical Learning.
ACM Conference on Learning Theory. `<https://arxiv.org/abs/1901.09036>`_
.. [dynamicdml] Greg Lewis and Vasilis Syrgkanis.
Double/Debiased Machine Learning for Dynamic Treatment Effects.
`<https://arxiv.org/abs/2002.07285>`_, 2021.
"""

from .dml import (DML, LinearDML, SparseLinearDML,
KernelDML, NonParamDML, ForestDML)
from .dynamic_dml import DynamicDML
from .causal_forest import CausalForestDML

__all__ = ["DML",
Expand All @@ -45,4 +49,5 @@
"KernelDML",
"NonParamDML",
"ForestDML",
"CausalForestDML", ]
"CausalForestDML",
"DynamicDML"]
Loading