Day 1 | WISE Workshop — Addis Ababa 2026
2026-02-02
By the end of this session, you will be able to:


These advances share a common foundation: learning patterns from data to make predictions
Traditional programming:
Rules + Data → Answers
Machine learning:
Data + Answers → Rules (learned patterns)
ML discovers patterns from examples, rather than being explicitly told the rules
| Application | What ML Predicts | Why It Matters |
|---|---|---|
| Demand Forecasting | Future medication needs | Better inventory planning |
| Stockout Risk | Which facilities will run out | Proactive intervention |
| Lead Time | Delivery delays | Buffer stock decisions |
| Disease Outbreak | Surge in demand | Emergency preparedness |
Tomorrow’s Day 2-4 workshops use ML predictions to inform simulation models
Supervised learning = Learning a function \(f\) from labeled data \((X, Y)\)
A family farm in Japan wanted to automate cucumber sorting:
Key insight: We don’t program the rules—we let the algorithm discover them from data
Goal: Understand \(\hat{\beta}\) (coefficients)
Goal: Accurate \(\hat{y}\) (predictions)
Supply chain forecasting is Y-hard: We need accurate predictions, not causal effects
Many important problems only require good predictions:
| Domain | Prediction Task | No Causation Needed |
|---|---|---|
| Spam or not? | Just filter accurately | |
| Credit | Will they default? | Just rank risk |
| Poverty | Who is poor? | Just target resources |
| Supply Chain | How much demand? | Just stock appropriately |
For resource allocation and planning, prediction accuracy matters more than understanding why
Policy Problem: How do we identify poor households for cash transfers?
ML can predict consumption/income better than simple rules—enabling better targeting
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
│ UNDERFITTING │ │ JUST RIGHT │ │ OVERFITTING │
│ │ │ │ │ │
│ ───────── │ │ ~~~~ │ │ ~~/\~/\~~ │
│ • • • • │ │ • • • • │ │ • • • • │
│ │ │ │ │ │
│ Too simple │ │ Balanced │ │ Too complex │
│ High bias │ │ complexity │ │ High variance │
└──────────────────┘ └──────────────────┘ └──────────────────┘
Consider predicting \(y\) from a single feature \(x\):
| Degree | Model | Risk |
|---|---|---|
| 1 | \(y = \beta_0 + \beta_1 x\) | Underfitting |
| 3 | \(y = \beta_0 + \beta_1 x + \beta_2 x^2 + \beta_3 x^3\) | May be right |
| 10 | \(y = \sum_{j=0}^{10} \beta_j x^j\) | Overfitting |
Hands-on preview: In today’s notebook, you’ll see this exact problem with a sine wave!
The model that fits training data best is NOT always the best predictor
Training error: How well we fit observed data
Test error: How well we predict NEW data
An overfit model memorizes training data (including noise) and fails on new data
┌────────────────────────────────────────────────────────┐
│ All Data (100%) │
├────────────────────────────┬──────────────┬────────────┤
│ Training (60%) │ Val (20%) │ Test (20%) │
│ │ │ │
│ Learn patterns │ Tune model │ Final eval │
└────────────────────────────┴──────────────┴────────────┘
Golden Rule: Never touch test data until the very end!
More robust than a single train/validation split:
Process:
Rule of thumb: 5-fold or 10-fold CV is standard practice
Problem: What if we have many features (high dimensions)?
Solution: Add a penalty that shrinks coefficients
Tomorrow morning: Deep dive into regularization with supply chain data
Decision trees split data recursively:
[Month Demand < 500?]
/ \
Yes No
| |
[Rainy Season?] [Facility Size?]
/ \ / \
Yes No Small Large
Ensembles combine many trees:
Tomorrow afternoon: Build and compare tree models
Day 1: ML Foundations → Day 2: ML Algorithms & Practice
(Today) (Tomorrow)
│
▼
Day 3-4: ABM Simulation ← ML Predictions feed into
(Wed-Thu) agent-based models
Your ML forecasts become inputs to the supply chain simulations on Days 3-4
ML learns patterns from data rather than following programmed rules
Prediction ≠ causation: ML excels at “What will Y be?” not “Why?”
Bias-variance tradeoff: Too simple = underfit, too complex = overfit
Cross-validation prevents overfitting and gives honest error estimates
Tomorrow: LASSO (feature selection) and Trees (non-linear patterns)
This week: ML predictions → ABM simulations for supply chain decisions
Before we move to hands-on:
Can you think of a prediction problem in your work that doesn’t need causal interpretation?
What features might help predict medication demand at Ethiopian health facilities?
How would you know if your model is overfitting?
Let’s apply these concepts with a practical demonstration:
WISE Workshop | Data Sciences for Modeling & HTA