ML Foundations
Before any model there is a layer of reasoning that decides whether its numbers mean anything: the probability that generates the data, the discipline that keeps a score honest, and the arithmetic of a rare positive class. A model can fit perfectly and still be worthless if the score you trust was inflated by leakage, or if the metric measures the majority class instead of the thing you care about. This topic is the foundation the rest of ML stands on.
The thread through all three layers is the same interview reflex: name what a number measures before you trust it.
Topic map
- Probability & statistics — distributions and what they model, expectation and variance, Bayes and base rates, MLE vs MAP, and what a p-value and a confidence interval actually claim (and never claim).
- Generalization — bias vs variance, overfitting vs underfitting, honest train/val/test splits, cross-validation schemes, regularization, learning curves, and the leakage that quietly inflates every score.
- Imbalanced data — why accuracy lies on rare classes, precision/recall/F1, PR-AUC vs ROC-AUC, resampling and class weights and their risks, threshold selection, and calibration.
What interviewers probe
The common thread is disproving a confident misreading: a p-value is not the probability the null is true; a high validation score is not honest if a transform was fit before the split; 99.9% accuracy is not skill when the base rate is 0.1%. Get these three foundations right and every downstream model conversation gets easier.