This toolbox aims to simplify the construction of compartmental models and the inference of their parameters
Project description
Inference of Compartmental Models (ICoMo) Toolbox
This toolbox aims to simplify the construction of compartmental models and the inference of their parameters.
The aim isn't to provide a complete package that will build models from A to Z, but rather provide different helper functions examples and guidelines to help leverage modern python packages like JAX, Diffrax and PyMC to build, automatically differentiate and fit compartmental models.
- Documentation: https://icomo.readthedocs.io.
Features
- Facilitate the construction of compartmental models by only defining flow between compartments, and automatically generating the corresponding ODEs.
- Plot the graph of the compartmental model to verify the correctness of the model.
- Integrate the ODEs using diffrax, automatically generating the Jacobian of the parameters of the ODE
- Fit the parameters using minimization algorithms or build a Bayesian model using PyMC.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
icomo-0.1.7.tar.gz
(667.9 kB
view details)
Built Distribution
icomo-0.1.7-py3-none-any.whl
(16.2 kB
view details)
File details
Details for the file icomo-0.1.7.tar.gz
.
File metadata
- Download URL: icomo-0.1.7.tar.gz
- Upload date:
- Size: 667.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884e5fc525e0254953595979d5d5f6bb8e7e65447631b3c6fe451c45e8d35e48 |
|
MD5 | 8607926c67dddf47288fe9fa159cec78 |
|
BLAKE2b-256 | 9cca63b58aacb4c70cf3662b404c1f964d37a67ec96cdff770d3d41487e5af82 |
File details
Details for the file icomo-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: icomo-0.1.7-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c68b5e2a8407952ab556908a780e07f18cc7f45977fb39e0473be3e2d43993c |
|
MD5 | 4d37c222db31c0b15b84467b7082a5bb |
|
BLAKE2b-256 | a910a9b8b4af9d75b89063af735469907749cffc5ee747ea8ac59e6babc90510 |