Skip to main content

Vpop calibration

Description

A set of Python tools to allow for virtual population calibration, using a non-linear mixed effects (NLME) model approach, combined with surrogate models in order to speed up the simulation of QSP models.

The approach was mainly inspired from 1.

Here is an overview of the proposed workflow: flowchart

Currently available features

  • Surrogate modeling using gaussian processes, implemented using GPyTorch
  • Synthetic data generation using ODE models. The current implementation uses scipy.integrate.solve_ivp, parallelized with multiprocessing
  • Non-linear mixed effect models, see the dedicated doc:
    • Log-distributed parameters
    • Additive or multiplicative error model
    • Covariates handling
    • Known individual patient descriptors (i.e. covariates with no effect on other descriptors outside of the structural model)
  • SAEM: see the dedicated doc
    • Optimization of random and fixed effects using repeated longitudinal data
  • Individual parameter estimation
    • Conditional distribution sampling: the posterior conditional distribution may directly be sampled using Metropolis-Hastings algorithm
    • Empirical Bayesian Estimators (EBEs) or Maximum A Posteriori (MAP) estimates: these values represent the mode of the conditional distribution for each parameter and each patient. The current implementation is sub-optimal for torch surrogate models as it does not leverage the gradient predictions.
  • Diagnostics:
    • Post-inference diagnostics are available, and different type sof weighted residuals may be plotted (IWRES, PWRES, NPDE)

Getting started

  • Tutorial: this notebook demonstrates step-by-step how to create and train a surrogate model, using a reference ODE model and a GP surrogate model. It then showcases how to optimize the surrogate model on synthetic data using SAEM

In-depth examples

Support

For any issue or comments, please reach out to eliott.tixier@novainsilico.ai, or feel free to open an issue in the repo directly.

Authors

  • Paul Lemarre
  • Eléonore Dravet
  • Hugo Alves

Active maintainers

  • Eliott Tixier
  • Guillaume Bouchard
  • Louis Philippe
  • Hugo Alves
  • Nicolas Ratto
  • Théo Plissonneau

QSPC26 poster

This work was presented at QSPC2026 in Leiden, and all the corresponding material is introduced in this document. The benchmark notebooks for standard data sets are available directly for orange trees and theophylline.

The poster itself is available in this document. The full list of references is available in this document.

Roadmap

Here are a few planned features, in an unordered and non-exhaustive list:

  • NLME:
    • Support additional error models (additive-multiplicative, power, etc...)
    • Support additional covariate models (categorical covariates)
    • Compute likelihood via importance sampling following population parameters optimization
  • Structural models:
    • Integrate with SBML models (e.g. Roadrunner)
  • Surrogate models:
    • Support additional surrogate models in PyTorch
  • Optimizer:
    • Add preconditioned Stochastic-Gradient-Descent (SGD) method for surrogate model optimization

References

  1. Grenier et al. 2018: Grenier, E., Helbert, C., Louvet, V. et al. Population parametrization of costly black box models using iterations between SAEM algorithm and kriging. Comp. Appl. Math. 37, 161–173 (2018). https://doi.org/10.1007/s40314-016-0337-5 ↩

Metadata

Release files for vpop-calibration 4.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vpop-calibration 4.7.3
File Size Uploaded
vpop_calibration-4.7.3.tar.gz 411.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vpop-calibration 4.7.3
File Interpreter ABI Platform
vpop_calibration-4.7.3-py3-none-any.whl Python 3 none any Details

Total release size: 873.1 kB

Release files / vpop_calibration-4.7.3.tar.gz

Download URL vpop_calibration-4.7.3.tar.gz
Size 411.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a7b3cd41708ab3ce5848113209b5da1c8d57fc0ba30bbe7fe3509ca54d9aeaec
BLAKE2b-256 checksum
How to use checksums
a6280a37282be7d329de99b0817c02719eaa4b0c0939eeba27183b0ed7b497d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.13 Linux/6.18.33

Release files / vpop_calibration-4.7.3-py3-none-any.whl

Download URL vpop_calibration-4.7.3-py3-none-any.whl
Size 461.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c06fecb6b8642dfcc953b398cff9a21cb64a41baec8db119eb8c2394201bb5d4
BLAKE2b-256 checksum
How to use checksums
3830d929a765083cb7be68886dcdf322570b15a19fcc84f88fc13375c2c4d623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.13 Linux/6.18.33

Release history Release notifications | RSS feed

4.7.6

2 release files

4.7.5

2 release files

4.7.4

2 release files

This release

4.7.3 This release

2 release files

4.7.2

2 release files

4.7.1

2 release files

4.7.0

2 release files

4.6.9

2 release files

4.6.8

2 release files

4.6.7

2 release files

4.6.6

2 release files

4.6.5

2 release files

4.6.4

2 release files

4.6.3

2 release files

4.6.2

2 release files

4.6.1

2 release files

4.6.0

2 release files

4.5.0

2 release files

4.4.8

2 release files

4.4.7

2 release files

4.4.6

2 release files

4.4.5

2 release files

4.4.4

2 release files

4.4.3

2 release files

4.4.2

2 release files

4.4.1

2 release files

4.4.0

2 release files

4.3.0

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.0.4

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.6.0

2 release files

2.5.2

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.9

2 release files

2.2.8

2 release files

2.2.7

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page