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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: icomo-0.1.2.tar.gz
  • Upload date:
  • Size: 668.2 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.2.tar.gz
Algorithm Hash digest
SHA256 98fc61131864045368cfe190b7ddd638cf1f91949d3bcc2ae5d8d6d72aea33b7
MD5 7c6c13414c445177c46a58ff14eac59a
BLAKE2b-256 4a3626d02047e07ccfbb37f379f07e66686af5c3b08c001e401dff070c3de291

See more details on using hashes here.

File details

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

File metadata

  • Download URL: icomo-0.1.2-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.4

File hashes

Hashes for icomo-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 25f0f56b637f274155b091147542363008b1b5880311995deb82dec626e48b8e
MD5 78fc99181a55690c2099ce06a40d6c57
BLAKE2b-256 6b36eee3a1302b66db04a635ea2272ae4a2eeb7886363ccd853256a936fcf4e8

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