Library to conduct experiments in population dynamics.
Project description
Population dynamics
Library to conduct experiements on population dynamics.
Installation
- To generate required log and results directories, run
bash init.sh
- Create conda environment
conda env create -f environment.yml
- Activate the environment
conda activate population-dynamics
- Install
causal
as a package within the environment
python setup.py develop
Running the Lotka-Volterra simulation
-
The Lotka-Volterra simulator class exists in
repo/causal/base/lotka_volterra.py
. -
The Lotka-Volterra simulation parameters are fetched from
repo/causal/config.py
. You can edit theconfig.py
file directly to play around with the parameter values. -
You can run the simulator directly from terminal by running
python causal/base/lotka_volterra.py
- The simulation statistics will be saved in the
repo/results
directory.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for causal-inference-population-dynamics-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 299255664d807760dedefcddeb6e9a54aa0d24e8d05cb92c165cec7ad84aa4f8 |
|
MD5 | 06370c4fa74542b0c01fc6ab6c6078e2 |
|
BLAKE2b-256 | 16210c682ff73a5627da6be57d764815568ec4e99139061d280610acf22aeee7 |
Close
Hashes for causal_inference_population_dynamics-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 438192add1cb69057e057a671f458c3f54ed648cbc0fa72e9f2bfc940ab27c0e |
|
MD5 | 8995c7755431c8eff186933ced40dd52 |
|
BLAKE2b-256 | aa1791f0819b411049f7ee7d796c47057c9433994ead0734b836370cf9e8098b |