causal-tree-learn-2.9
2.9
2.8
2.7
2.6
2.5
2.43
2.42
2.41
2.40
2.4
2.39
2.38
2.37
2.36
2.35
2.34
2.33
2.32
2.31
2.30
2.3
2.29
2.28
2.27
2.26
2.25
2.24
2.23
2.22
2.21
2.20
2.2
2.19
2.18
2.17
2.16
2.15
2.14
2.13
2.12
2.11
2.10
2.1
2.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.20
1.0.2
1.0.19
1.0.18
1.0.17
1.0.16
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.1
1.0
2.9
2.8
2.7
2.6
2.5
2.43
2.42
2.41
2.40
2.4
2.39
2.38
2.37
2.36
2.35
2.34
2.33
2.32
2.31
2.30
2.3
2.29
2.28
2.27
2.26
2.25
2.24
2.23
2.22
2.21
2.20
2.2
2.19
2.18
2.17
2.16
2.15
2.14
2.13
2.12
2.11
2.10
2.1
2.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.20
1.0.2
1.0.19
1.0.18
1.0.17
1.0.16
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.1
1.0
توضیحات
Python implementation of causal trees with validation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | causal-tree-learn-2.9 |
| نام | causal-tree-learn |
| نسخه کتابخانه | 2.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Christopher Tran |
| ایمیل نویسنده | ctran29@uic.edu |
| آدرس صفحه اصلی | https://github.com/edgeslab/CTL |
| آدرس اینترنتی | https://pypi.org/project/causal-tree-learn/ |
| مجوز | - |
# CTL
Christopher Tran, Elena Zheleva, ["Learning Triggers for Heterogeneous Treatment Effects", AAAI 2019.](https://arxiv.org/pdf/1902.00087.pdf)
Our method is based on and adapted from: https://github.com/susanathey/causalTree
## Requirements
* Python 3
* sklearn
* scipy
* graphviz (if you want to plot the tree)
## Installation
through pip
```bash
pip install causal_tree_learn
```
or clone the repository
```bash
python setup.py build_ext --inplace
```
## Demo Code
Two demo codes are available to run.
```bash
python binary_example.py
```
Runs the tree on a binary example (asthma.txt)
```bash
python trigger_example.py
```
Runs a tree on a trigger problem where the treatment is continuous (note for now the example is made up and treatment does not affect outcome, this is only to show example code)
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | scikit-learn |
| - | scipy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl causal-tree-learn-2.9:
pip install causal-tree-learn-2.9.whl
نصب پکیج tar.gz causal-tree-learn-2.9:
pip install causal-tree-learn-2.9.tar.gz