If you run into any problems please create a new issue at the upstream repository.
- [Optional] Create a virtual environment for the project:
$ mkvirtualenv dpmfa
- Install the package:
$ pip install dpmfa
- Download the example from this repository, then install the required dependencies:
$ pip install -r example/requirements.txt
- Then, run the example:
$ python example/plots.py
You should now have a directory experiment_output/
with the results of the
example simulation.
First, clone the repo:
$ git clone <url-of-this-repo>
[Optional] Create a virtual environment for the project:
$ mkvirtualenv dpmfa
Install the required dependencies:
$ pip install -r requirements.txt -r requirements-dev.txt
Install the git hooks with pre-commit:
$ pre-commit install
Running tests:
$ py.test