What is Machine Learning?
Supervised, unsupervised, reinforcement, when ML works and when it doesn't
Learning From Examples
Separate a rule you hand-write from a pattern a model learns off graded examples, then tag the feature columns, target, and prediction in a real email table.
Types of Machine Learning
Sort any problem into supervised, unsupervised, or reinforcement by the shape of its data, a filled answer column, no answers, or a reward earned by acting, never by its subject or algorithm.
How Models Learn
Trace one pass of the training loop, guess, measure the miss, nudge the weight, then predict what a too-big or too-small step does to the loss curve and when more passes stop paying off, all with zero math.
When ML Works (and When It Doesn't)
Run any problem through a four-condition test to tell a hand-written rule from a trained model, then judge whether your data is enough, labeled, and representative before writing a line of code.
Data for ML
What kinds of data ML uses and why splitting matters
Data Types for ML
Read any dataset's shape by one test, does scrambling its order destroy it, then match tabular, image, text, and time-series to the job each shape can feed.
Train/Test Splits & Data Leakage
Hold back a test set so a score means something, split a table at random but a stock chart by time, and catch the leak that makes a broken model look perfect.
Supervised Learning
Regression, classification, trees, intuition not derivation
Regression, Predicting Numbers
Read a predicted number off a line fitted to your data, catch when a straight line is the wrong shape for a curve, and distrust any prediction pushed past the range you measured.
Classification, Predicting Categories
Sort a case into one of two categories by which side of a line it falls on, read its confidence off how far it sits from that line, and move the cut-off to trade wrongly-flagged real mail against spam let through.
Trees & Ensembles
Walk a loan application down a tree's yes/no branches to its verdict, see how one flipped answer reroutes it to the opposite call, and explain why a forest of disagreeing trees that vote beats a single tree that swings with its training data.
Overfitting & Underfitting
Spot an overfit model by the gap between its training and test scores, tell that apart from a too-simple model weak on both, and close the gap with more data, a simpler model, or regularization.
Evaluation & Model Selection
Why accuracy misleads and how to choose the right model
Accuracy & Its Limits
Read past a 99%-accurate screen into its four confusion-matrix cells, slide the threshold to trade false alarms against missed cases, and set the cut-off by which mistake costs most.
Comparing & Selecting Models
Re-shuffle a single train/test split and watch two close models trade first place, then rotate the held-out slice with cross-validation until the ranking holds, break ties toward the simpler model, and seal the test set so tuning never inflates the verdict.
Bias & the Limits of a Model
Skew a hiring screener's training pile and watch its decisions tilt with no biased rule in sight, see why piling on more of the same data deepens the slant instead of fixing it, and carry two questions into every confident prediction: was the data representative, and is this a case the model has really seen.