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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: icomo-0.1.3.tar.gz
  • Upload date:
  • Size: 490.8 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.3.tar.gz
Algorithm Hash digest
SHA256 ad8fa62778c1130206b88ea5db461ae4f86541733f127e1263d2663261a830d8
MD5 68f143d2ebba3abfcee6cdb186004739
BLAKE2b-256 57184b05c77a37b51708b53dee6141117745b3843b1421c84c1e0467b9e1f137

See more details on using hashes here.

File details

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

File metadata

  • Download URL: icomo-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 66ac300788d8b8228119f0eb12236f5a56566bb92d74fbd6b9672f95149fd824
MD5 898962792c5ea854e597822bd217fa61
BLAKE2b-256 c431b26634de5ec7d0350c270aaa8ec970177bf3dc76e50edf33df3d5397920b

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