Skip to main content

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.

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.4.tar.gz (667.3 kB view details)

Uploaded Source

Built Distribution

icomo-0.1.4-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file icomo-0.1.4.tar.gz.

File metadata

  • Download URL: icomo-0.1.4.tar.gz
  • Upload date:
  • Size: 667.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for icomo-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6b5bb10368defcb89374041d4750d18f5bbb47ef9464c67a1c1a6f2b3a55427d
MD5 2e92f3d265e03a7753edc73e6f91dd70
BLAKE2b-256 86a3b7233b4dc6aa661ddf56011cd55931af40e6b4ec17ff8b682c6df5cdc7b5

See more details on using hashes here.

File details

Details for the file icomo-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: icomo-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for icomo-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a3367a30457cfb735aff8c243b9fd42d9dba93ff4d76e09848ef38418bd1996b
MD5 7cb8c3ab4c2421d2d25dbb5f3bba7588
BLAKE2b-256 b19c55e11cae5f4d18f907d3282c21a0baf453b2c6055426b09595f283510b54

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page