Skip to main content

No project description provided

Project description

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 paul.lemarre@novainsilico.ai, or feel free to open an issue in the repo directly.

Authors

  • Paul Lemarre
  • Eléonore Dravet
  • Hugo Alves

Acknowledgements

  • Adeline Leclercq-Samson
  • Eliott Tixier
  • Louis Philippe

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

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

vpop_calibration-4.3.0.tar.gz (65.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vpop_calibration-4.3.0-py3-none-any.whl (93.8 kB view details)

Uploaded Python 3

File details

Details for the file vpop_calibration-4.3.0.tar.gz.

File metadata

  • Download URL: vpop_calibration-4.3.0.tar.gz
  • Upload date:
  • Size: 65.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.13 Linux/6.18.33

File hashes

Hashes for vpop_calibration-4.3.0.tar.gz
Algorithm Hash digest
SHA256 f74e2e694f6c0debba97cd4fc6cb3da7eb4e656e125b5cd3e2797c90d5e90b72
MD5 4f65715abb364959b79597987c622c07
BLAKE2b-256 f7313db0f8bef6dafe3daabc11e05b297748e1a36e14e6fce18ac405f22755a4

See more details on using hashes here.

File details

Details for the file vpop_calibration-4.3.0-py3-none-any.whl.

File metadata

  • Download URL: vpop_calibration-4.3.0-py3-none-any.whl
  • Upload date:
  • Size: 93.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.13 Linux/6.18.33

File hashes

Hashes for vpop_calibration-4.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb205a08522426de0c615c59751972c16fec524205126855bc59d80890a8bab6
MD5 a594c74df6f74c0c6c989e943d26594b
BLAKE2b-256 ee0152df19358611cf9a8f2bc3b6ec0a674624fda59183562c5464ec903e92de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page