-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* version 0.6.0 * `datasets` module with toy datasets for causal analysis * `contrib` module for new state-of-the-art outside contributions * New implementation for MarginalOutcomeEstimator (formerly UncorrectedEstimator) using WeightEstimator API * Additional Jupyter Notebook examples * Additional bug fix and documentation
- Loading branch information
Showing
70 changed files
with
59,294 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.6.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Module `causallib.contrib` | ||
This module currently includes additional causal methods contributed to the package | ||
by causal inference researchers other than `causallib`'s core developers. | ||
|
||
The causal models in this module can be slightly more novel then in the ones in `estimation` module. | ||
However, they should largely adhere to `causallib` API | ||
(e.g., `IndividualOutcomeEstimator` or `WeightEstimator`). | ||
Since code here is more experimental, | ||
models might also require additional (and less trivial) package dependencies, | ||
or have less test coverage. | ||
Well-integrated models could be transferred into the main `estimation` module in the future. | ||
|
||
## Contributed Methods | ||
Currently contributed methods are: | ||
|
||
1. Adversarial Balancing: implementing the algorithm described in | ||
[Adversarial Balancing for Causal Inference](https://arxiv.org/abs/1810.07406). | ||
```python | ||
from causallib.contrib.adversarial_balancing import AdversarialBalancing | ||
|
||
## Dependencies | ||
Each model might have slightly different requirements. | ||
Refer to the documentation of each model for the additional packages it requires. | ||
|
||
Requirements for `contrib` models will be concentrated in `contrib/requirements.txt` and should be | ||
automatically installed using the extra-requirements `contrib` flag: | ||
```shell script | ||
pip install causallib[contrib] | ||
``` |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .adversarial_balancing import AdversarialBalancing |
Oops, something went wrong.