├── .github ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── merge_request.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── cfml_tools ├── forest.py ├── tree.py └── utils.py ├── examples ├── Decision Tree Counterfactual.ipynb ├── Diagnosing validity of causal effects on decision trees.ipynb ├── Example - "smoking" dataset.ipynb └── Forest Embeddings Counterfactual.ipynb ├── img ├── usage_confounding.png ├── usage_diagnostics.png ├── usage_embedding_1.png ├── usage_embedding_2.png ├── usage_explain.png ├── usage_fklearn_results.png ├── usage_preds.png └── usage_speed.png ├── requirements.txt ├── requirements_dev.txt ├── setup.cfg └── setup.py /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/merge_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/.github/workflows/merge_request.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/README.md -------------------------------------------------------------------------------- /cfml_tools/forest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/cfml_tools/forest.py -------------------------------------------------------------------------------- /cfml_tools/tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/cfml_tools/tree.py -------------------------------------------------------------------------------- /cfml_tools/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/cfml_tools/utils.py -------------------------------------------------------------------------------- /examples/Decision Tree Counterfactual.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/examples/Decision Tree Counterfactual.ipynb -------------------------------------------------------------------------------- /examples/Diagnosing validity of causal effects on decision trees.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/examples/Diagnosing validity of causal effects on decision trees.ipynb -------------------------------------------------------------------------------- /examples/Example - "smoking" dataset.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/examples/Example - "smoking" dataset.ipynb -------------------------------------------------------------------------------- /examples/Forest Embeddings Counterfactual.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/examples/Forest Embeddings Counterfactual.ipynb -------------------------------------------------------------------------------- /img/usage_confounding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/img/usage_confounding.png -------------------------------------------------------------------------------- /img/usage_diagnostics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/img/usage_diagnostics.png -------------------------------------------------------------------------------- /img/usage_embedding_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/img/usage_embedding_1.png -------------------------------------------------------------------------------- /img/usage_embedding_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/img/usage_embedding_2.png -------------------------------------------------------------------------------- /img/usage_explain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/img/usage_explain.png -------------------------------------------------------------------------------- /img/usage_fklearn_results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/img/usage_fklearn_results.png -------------------------------------------------------------------------------- /img/usage_preds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/img/usage_preds.png -------------------------------------------------------------------------------- /img/usage_speed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/img/usage_speed.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/requirements.txt -------------------------------------------------------------------------------- /requirements_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/requirements_dev.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | exclude = docs examples img 3 | max-line-length = 120 4 | statistics = True 5 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdmarmerola/cfml_tools/HEAD/setup.py --------------------------------------------------------------------------------