Skip to content

Commit

Permalink
Remove dependencies to causalml, rpy2 and tensorflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWilhelm committed Mar 12, 2020
1 parent bee1da1 commit ea4601e
Show file tree
Hide file tree
Showing 23 changed files with 13 additions and 2,223 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
Changelog
=========

Version 0.3.2
=============
Version 0.4
===========

- removed dependency to ``causalml`` thus x- and t- learner were removed
- removed dependency to ``rpy`` thus CausalForest method was removed
- removed dependency to ``tensorflow`` thus ganite and dragonnet were removed
- added missing ``requests`` library in dependencies

Version 0.3.2
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ pandas
matplotlib==2.2.4
pyarrow>=0.15 # Mac problems with 0.13
scikit-learn>=0.22
causalml
sphinx_rtd_theme
11 changes: 2 additions & 9 deletions environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,10 @@ dependencies:
- scipy
- requests
- pandas
- r-base
- rpy2
- seaborn
- tensorflow=1.13.1 # required for dragonnet project code
- keras
- cython # needed by CausalML
- arrow-cpp # check if needed
- pyarrow>=0.15 # Mac problems with 0.13
- scikit-learn==0.20.3 # Currently required to downgrade scikit-learn in order for CausalML to compile
- matplotlib==2.2.4 # Required for CausalML to work instantly
- scikit-learn
- matplotlib
- seaborn
# for development below here
- jupyterlab
Expand All @@ -32,5 +26,4 @@ dependencies:
- flake8
- pip:
- pre-commit
- causalml
- pygam
4 changes: 2 additions & 2 deletions notebooks/template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -40,7 +40,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ package_dir =
# DON'T CHANGE THE FOLLOWING LINE! IT WILL BE UPDATED BY PYSCAFFOLD!
setup_requires = pyscaffold>=3.2a0,<3.3a0
# Add here dependencies of your project (semicolon/line-separated), e.g.
install_requires = numpy; pyarrow; pandas>=1.0; scikit-learn; requests; causalml; rpy2; pygam
install_requires = numpy; pyarrow; pandas>=1.0; scikit-learn; requests; pygam
python_requires = >=3.6

[options.packages.find]
Expand Down
7 changes: 0 additions & 7 deletions src/justcause/contrib/__init__.py

This file was deleted.

Empty file.
Loading

0 comments on commit ea4601e

Please sign in to comment.