Skip to content

Commit

Permalink
Merge pull request #4 from CyberAgentAILab/feat/setup
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
TomeHirata authored Jun 18, 2024
2 parents ca2ee02 + e79a004 commit 4dad1ce
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,45 @@
# python-dte-adjustment
## Overview

This an a Python package for building the regression adjusted distribution function estimator proposed in "Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction".

## Installation

1. **Install from PyPI**
```sh
pip install dte_adj
```

2. **Install from source**

```sh
git clone https://github.com/CyberAgentAILab/python-dte-adjustment
cd python-dte-adjustment
pip install -e .
```

## Development

### Install Pipenv
If you don't have `pipenv` installed, you can install it using `pip`:
```sh
pip install pipenv
```
### Linting
We use `ruff` for linting the code. To run the linter, use the following command:
```sh
pipenv run lint
```
### Auto format
We use `ruff` for formatting the code. To run the formatter, use the following command:
```sh
pipenv run format
```
### Unit test
We use `unittest` for testing the code. To run the unit tests, use the following command:
```sh
pipenv run unittest
```

0 comments on commit 4dad1ce

Please sign in to comment.