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

Uploaded Source

Built Distribution

icomo-0.1.6-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for icomo-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ff2e0cbee3deffad12a76d7abd8ea374bd58423028c1fd69b73c84ed517ad40b
MD5 bfd26b8effba70f2a9a400a79898390c
BLAKE2b-256 ebbf64150c4dbc3db7125de50080258d20318adb13f0b2e04d9566c67ce70d6f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for icomo-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2c5ea55d39eca01a05d7af5b66641561cba2f66a011e425cfe658a2fc81cc268
MD5 1a76d3ea4562cc1e29e926fadb686009
BLAKE2b-256 4caf9fd6e80eb0a5f268b3cb33c6c24fe0fa4d2def80e92f5b98cf945f7d2a8b

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