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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: icomo-0.1.5.tar.gz
  • Upload date:
  • Size: 667.4 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.5.tar.gz
Algorithm Hash digest
SHA256 726118ba79e40106533bf792670377c9520da8f19f6372c810e7e6df85594ded
MD5 aa7057e87a9a5647fe62624c28444a72
BLAKE2b-256 86acb91b0c86a9478a034f4ab662f2cd97a9916cd846345ea0395248641c42a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: icomo-0.1.5-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.5

File hashes

Hashes for icomo-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 812b8540309b61281b5a20a031dbf51fe2989e615caee530788b9dbb4f891943
MD5 2bf70d6b3d22e963cc7886511c777998
BLAKE2b-256 0f4d46f7f9456f208df9cea28ea3e959fce46082086b2f84dc511cfc0a8b5544

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