PCA and Matrix Factorization
Optimal for reconstructing the inputs, which is a different objective from any supervised one.
Optimal for reconstructing the inputs, which is a different objective from any supervised one.
The missing label is a latent variable, and EM is the general recipe for that.
Each relaxes one of k-means’ requirements and substitutes a different assumption.
A clustering result alone does not establish distinct populations. Examine distance, initialization, and the meaning of the resulting groups.
Rare outcomes raise distinct questions about fitting, decision thresholds, and evaluation; resampling is one possible training intervention.
Ranking well and reporting honest probabilities are different skills.
Assess the size and uncertainty of a model difference, then consider whether the changed decisions have practical value.
Tuning is a fitting procedure, and it overfits like one.
The premise is that models failing differently cover for each other. It is often false.
The same algorithm, three engineering positions. On numeric data you cannot tell them apart.
Boosting fits successive trees to the current ensemble’s loss derivatives. Its behavior depends on the loss, step size, and fitting choices.
Three answers to one question: how to make the members disagree without making them worse.
Readable, scale-free, and unstable enough that one tree is rarely the answer.
Every other model returns a number. This one returns a distribution.
One criterion produces both of the method’s famous properties.
The cleanest instrument for studying what ‘closest’ means, and the answer is uncomfortable.
Modeling p(x|y) instead of p(y|x) changes the parameter count, and the parameter count decides the winner.
One sentence covers all of them. The shape of the penalty decides everything else.
Not a classifier — a conditional probability fitted by maximum likelihood.
The model people reach for first and interpret most confidently.
A metric is a choice about which errors you will tolerate.
Ranking, probability, and decision are three separate things to evaluate.
Unglamorous techniques, each worth a large constant factor.
Both are called art. Both have measurable effects.
Most of a project’s decisions are made here, and almost none are recorded.
Leakage compromises evaluation when unavailable information enters fitting or selection; it need not raise every observed score.
Squared-error prediction risk can be decomposed into bias, variance, and irreducible noise under stated assumptions.
Training minimizes error on a sample. Everything hard is the gap to the population.
The loss function decides what a model estimates and how it treats large errors; decisions and costs come after.
Fitting a model means minimizing something. The objective’s geometry decides everything else.
Machine learning borrows its estimators from statistics and too often leaves the uncertainty behind.
Training a network is following a slope downhill. This is the calculus that defines the slope.
Most modeling mistakes are probability mistakes wearing a modeling costume.
If you have looked at a spreadsheet, you have looked at the central object of machine learning. Everything else is built on that.
Every code block in this series is NumPy or PyTorch. This is the array vocabulary they both assume.
A function fitted to a sample fits that sample better than it fits anything else. Everything difficult follows from that.