Machine Learning Fundamentals — Overview
One-line idea: Machine learning is the practice of letting a program find its own rule from examples, instead of a person writing the rule by hand.
Everyday comparison: A traditional program is like a recipe someone wrote: fixed steps, written once. A machine learning model is more like a new cook who tastes hundreds of dishes and gradually works out their own sense of "what makes this taste right" — nobody wrote down the exact rule, the cook inferred it from examples.
Who This Is For
Anyone on the AI Engineer path who needs the classic machine-learning foundation underneath modern LLM work — the concepts (train/test, overfitting, evaluation metrics) that ai/rag and ai/ai-evals already assume you know. No prior ML experience required; ai/ai-fundamentals and data/python-for-ai are useful background if you're completely new to AI concepts, but not required.
Why This Exists
Data Analyst and AI Engineer job postings consistently expect: supervised vs. unsupervised learning, train/test splits, overfitting vs. underfitting, core model families (regression, trees, boosting, clustering), and evaluation metrics (precision/recall/F1, RMSE). This was a gap on the site — only stray mentions existed elsewhere. This technology, together with the companion data/statistics technology, closes it.
A Promise About Every Number on This Site
Exactly like data/statistics, every worked number here — every confusion-matrix metric, every MAE/RMSE value — is independently recomputed by scripts/test-stats-ml.mjs against the exact dataset shown on the page. Nothing is eyeballed.
What You'll Learn Here
Memory line: Machine learning is "find the rule from examples" — the whole rest of this technology is about doing that honestly, and knowing when your model has actually learned something real versus just memorised the examples.

