Fast, deep-learning-based calibration of SIR model parameters using Approximate Bayesian Computation (ABC) and BiLSTM neural networks.
HealthR · MakefileGitHub @sima-njfOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Calibration tools for agent-based epidemiological models built with epiworldR
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
How to cite epiworldRcalibrate. If you use epiworldRcalibrate in published work, please cite it:
Najafzadehkhoei S, Vega Yon GG, Modenesi B, Meyer D (2025). Machine Generalize Learning in Agent-Based Models. arXiv:2509.07013. doi:10.48550/arXiv.2509.07013
Run citation("epiworldRcalibrate") in R for the BibTeX entry.
epiworldRcalibrate: Fast and Effortless Calibration of Agent-Based Models using Machine LearningRead the full README ↗[!NOTE] How to cite epiworldRcalibrate. If you use epiworldRcalibrate in published work, please cite it:
Najafzadehkhoei S, Vega Yon GG, Modenesi B, Meyer D (2025). Machine Generalize Learning in Agent-Based Models. arXiv:2509.07013. doi:10.48550/arXiv.2509.07013
Run
citation("epiworldRcalibrate")in R for the BibTeX entry.
From the DESCRIPTION:
The 'epiworldRcalibrate' package provides tools and pre-trained Machine Learning [ML] models for calibration of Agent-Based Models [ABMs] built with the R package 'epiworldR'. It implements methods described in Najafzadehkhoei, Vega Yon, Modenesi, and Meyer (2025) doi:10.48550/arXiv.2509.07013. Using 'epiworldRcalibrate', users can automatically calibrate ABMs in seconds with its pre-trained ML models, effectively focusing on simulation rather than calibration. This tool bridges a gap by allowing public health practitioners to run their own ABMs without the advanced technical expertise often required by calibration.
epiworldRcalibrate provides fast, data-driven calibration of SIR epidemic parameters using a pretrained Bidirectional LSTM (BiLSTM) model. Given a single incidence time series, the package estimates:
ptran)crate)R0)The package is fully integrated with epiworldR and requires no external Python setup.
calibrate_sir()# Install from GitHub
devtools::install_github("sima-njf/epiworldRcalibrate")
library(epiworldR)
library(epiworldRcalibrate)
# simulate SIR model
m <- ModelSIRCONN("sim", n=8000, prevalence=0.01,
contact_rate=3, transmission_rate=0.25,
recovery_rate=0.1)
run(m, ndays = 60)
inc <- plot_incidence(m)[,1]
# one-line calibration
calibrate_sir(
daily_cases = inc,
population_size = 8000,
recovery_rate = 0.1
)
Use epiworldRcalibrate when you want to:
Full website, reference, and vignette: 👉 https://sima-njf.github.io/epiworldRcalibrate/
Developed by Sima Najafzadehkhoei 🔗 https://github.com/sima-njf