Skip to content

Commit

Permalink
finished the docs and updated conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ronikobrosly committed Apr 21, 2020
1 parent a181b1e commit 969bbbd
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 20 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ Python tools to perform causal inference using observational data when the treat




## Table of Contents

- [Overview](#overview)
- [Documentation](#documentation)
- [Installation](#installation)
- [Usage](#usage)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [References](#references)

Expand All @@ -36,17 +34,13 @@ For example, when you would like to:

This library attempts to address this gap, providing tools to estimate causal curves (AKA causal dose-response curves).

## Documentation

TBC

## Installation

TBC
`pip install causal-curve`

## Usage
## Documentation

TBC
[Documentation is available at readthedocs.org](causal-curve.readthedocs.io)

## Contributing

Expand Down
1 change: 1 addition & 0 deletions docs/CDRC_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ The following code completes the data generation:
With this dataframe, we can now calculate the GPS to estimate the causal relationship between
treatment and outcome. Let's use the default settings of the CDRC tool:

>>> from causal_curve import CDRC
>>> cdrc = CDRC()
>>> cdrc.fit(T = df['Treatment'], X = df[['X_1', 'X_2']], y = df['Outcome'])
>>> cdrc_results = cdrc.calculate_CDRC(0.95)
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Change Log
==========

Version 0.0.1
Version 0.0.7
-------------

- Project created
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Roni Kobrosly'

# The full version, including alpha/beta/rc tags
release = '0.0.1'
release = '0.0.7'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Quick example (of the ``CDRC`` tool)

**causal-curve** uses a sklearn-like API that should feel familiar to python machine learning users.

>>> from causal_curve.cdrc import CDRC
>>> from causal_curve import CDRC

>>> cdrc = CDRC(treatment_grid_num = 200, random_seed = 512)

Expand Down
21 changes: 15 additions & 6 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,21 @@ Dependencies

causal-curve requires:

- Python (>= 3.7.6)
- NumPy (>= 1.18.2)
- Pandas (>= 1.0.3)
- pyGAM (>= 0.8.0)
- SciPy (>= 1.4.1)
- Statsmodels (>= 0.11.1)
- future
- joblib
- numpy
- pandas
- patsy
- progressbar2
- pygam
- python-dateutil
- python-utils
- pytz
- scikit-learn
- scipy
- six
- statsmodels



User installation
Expand Down
15 changes: 15 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
future
joblib
numpy
numpydoc
pandas
patsy
progressbar2
pygam
python-dateutil
python-utils
pytz
scikit-learn
scipy
six
statsmodels
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
future
joblib
numpy
numpydoc
pandas
patsy
progressbar2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="causal-curve",
version="0.0.5",
version="0.0.7",
author="Roni Kobrosly",
author_email="[email protected]",
description="A python library with tools to perform causal inference using \
Expand Down

0 comments on commit 969bbbd

Please sign in to comment.