| Quick Reference ML CheatsheetClassical machine learning on one page — splits, linear models, trees, metrics, and the traps around leakage, accuracy, and R². 10 sections 10 tables 14 code snippets Fit, then hold outA split One honest score The three jobs
This page is classical machine learning. Neural networks and deep learning are left out. LeakageLearn the scale on train Apply that scale What counts as a leak
FeaturesMake the columns usable
Linear modelsA probability A shrunk line What the fit means
TreesA forest Trees and ensembles
Clusters and PCAThree groups Two directions Structure without a label
MetricsA rare class Match the cost
TuningFive folds on the training rows Choices that are not learned in one fit
Fit and overfitThe gap Read the two errors
Interview trapsTraps worth memorising
Scale inside the fit Cut on time How to use this page: split first, fit every preprocessor on the training rows, and pick a metric that matches the cost of a mistake. A high training score is not a result. |