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
causalas 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.pyfile 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/resultsdirectory.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file causal-inference-population-dynamics-1.0.1.tar.gz.
File metadata
- Download URL: causal-inference-population-dynamics-1.0.1.tar.gz
- Upload date:
- Size: 63.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
299255664d807760dedefcddeb6e9a54aa0d24e8d05cb92c165cec7ad84aa4f8
|
|
| MD5 |
06370c4fa74542b0c01fc6ab6c6078e2
|
|
| BLAKE2b-256 |
16210c682ff73a5627da6be57d764815568ec4e99139061d280610acf22aeee7
|
File details
Details for the file causal_inference_population_dynamics-1.0.1-py3-none-any.whl.
File metadata
- Download URL: causal_inference_population_dynamics-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
438192add1cb69057e057a671f458c3f54ed648cbc0fa72e9f2bfc940ab27c0e
|
|
| MD5 |
8995c7755431c8eff186933ced40dd52
|
|
| BLAKE2b-256 |
aa1791f0819b411049f7ee7d796c47057c9433994ead0734b836370cf9e8098b
|