SIR model
Flow between Susceptible, Infected and Recovered compartments.
- transmission rate
- recovery rate
- population size
All 84 formulas in the course, grouped by topic. Copy any of them as LaTeX.
Flow between Susceptible, Infected and Recovered compartments.
A supervised dataset: n examples, each a feature vector with its label.
Element-wise products summed; relates to the angle between vectors.
Sum of absolute differences (L1).
Straight-line distance (L2).
p = 1 Manhattan, p = 2 Euclidean, p → ∞ max-norm.
Derivative of a vector-valued function; how it transforms local space.
Probability-weighted average.
Expected squared distance from the mean.
Positive when X and Y tend to rise together.
Posterior = likelihood × prior / evidence.
Expected error = squared bias + variance + irreducible noise.
L2 penalty shrinks all weights.
L1 penalty sets some weights exactly to zero.
Average loss over the true (unknown) data distribution.
Average loss on the training sample.
Pick the hypothesis with the lowest training loss.
Step against the gradient with learning rate η.
Gradient estimated on a batch B; |B| = 1 is SGD.
Convex f with f(1) = 0; a ratio-based divergence.
Asymmetric; in [0, ∞); infinite for non-overlapping supports.
Continuous form of KL.
Symmetric; equals log 2 for non-overlapping distributions.
Squared differences weighted by Q.
Squared differences weighted by P.
Largest difference in probability assigned to any event.
Bounded in [0, 1] and symmetric.
The function class 𝓕 decides which metric you get.
Kantorovich–Rubinstein dual form; used by WGAN.
x, x' ~ P and y, y' ~ Q, with kernel k.
Largest gap between CDFs.
Integrated squared gap between CDFs.
Weighted sum of features plus intercept.
Sum of squared residuals.
Closed-form least-squares solution.
Used for gradient-descent training.
Error in the target's units; punishes big errors.
Average absolute error; robust to outliers.
Fraction of variance explained; 1 is perfect.
Maps any real number into (0, 1).
Probability of the positive class.
Negative log-likelihood of Bernoulli labels.
K scores to K probabilities that sum to 1.
Share of correct predictions.
Of predicted positives, how many are right.
Of actual positives, how many were found.
Harmonic mean of precision P and recall R.
The two axes of the ROC curve.
Data fit plus a complexity penalty Ω.
λI keeps the matrix invertible.
0 for a pure node, 1 bit for a 50/50 split.
Entropy reduction from splitting on A.
Alternative impurity used by CART.
Each stage adds a small model with learning rate ν.
Maximise the margin by minimising ‖w‖.
Margin plus hinge penalties.
Similarity decaying with distance.
Majority vote among the k nearest neighbours.
Prior × product of per-feature likelihoods.
Within-cluster sum of squares.
Near 1 means well clustered.
d × d feature covariances.
λ_k is the variance along v_k.
First component keeps the most variance.
Equivalent view: best low-rank reconstruction.
Columns of V are the principal directions of centred X.
Share of variance captured by component k.
Weighted sum through an activation φ.
Adjust weights only on mistakes.
Ranges (0,1), (−1,1) and [0,∞).
Each layer transforms the previous one.
Errors flow backwards via the chain rule.
Slide kernel K over image I and sum products.
Input n, padding p, kernel k, stride s.
Smoothing filter; largest weight at the centre.
L2 norm of each pooling region R.
D maximises the discrepancy; G minimises it.
Make the generated distribution match the data.
The original JS-based formulation.
Distribution-level view of the discriminator.
Lower energy means higher probability; Z normalises.
Visible–hidden interactions only.
Global model = data-weighted average of client models.
Each worker computes a gradient on its shard; results are averaged.