Transformers for Epidemic Forecasting

A 10-week self-study course bridging epidemiological modeling and modern transformer architectures.

View the Project on GitHub aflaxman/learning-about-transformers-for-epidemic-forecasting

Week 1: Epidemiological Foundations - Mini Project

Simple SEIR Simulator

  1. Implement basic SEIR model
  2. Plot epidemic curves for 3 different R₀ values
  3. Calculate peak timing and final attack rate for each scenario

Week 01 - Epidemiological Foundations

Mini-Project: SEIR Simulator

🎯 Project Goals

📓 Notebooks

☁️ Run in Google Colab

Try it now without any installation: Open In Colab

Google Colab provides a convenient cloud-based environment where you can run the SEIR simulator immediately without installing Python, Jupyter, or any dependencies on your local machine. Simply click the badge above to open the notebook in Colab, and all required packages will be installed automatically when you run the cells.

🚀 Quick Start

# Create conda environment with Python 3.10+
conda create -n week-01-seir python=3.10
conda activate week-01-seir

# Install dependencies
pip install -r requirements.txt

# Launch Jupyter notebook
jupyter notebook seir_simulator.ipynb

Resources

Part 1 of the 10-Week Course: Learning About Transformers for Epidemic Forecasting