Machine Learning Diagrams
Rules Versus Examples
FlowA hand-written spam filter beside one trained from labeled emails.
Loss on a Line Through House Prices
ChartTwo candidate lines through the same eight houses, scored by loss.
Gradient Descent on a Loss Curve
ChartSteps down the same loss curve at three learning rates.
The Training Loop
FlowPredict, measure the loss, adjust the parameters, then repeat.
A Small Decision Tree for House Prices
StructureThree learned questions sorting houses into four price leaves.
A Unit and a Small Network
StructureOne unit's weighted sum and bend, then units stacked in layers.
Classification, Regression, and Clustering
ChartWhat each task learns, drawn on the same kind of scatter plot.
The Reinforcement Learning Loop
FlowAn agent acts, and the environment returns a state and reward.
State Values in a Small Grid
ChartEach cell's value when reward is discounted by 0.9 per step.
Holding Data Out for Evaluation
StructureA train, validation, and test split, and five-fold cross-validation.
Underfitting, a Good Fit, and Overfitting
ChartThree models of rising flexibility fitted to the same points.
The Confusion Matrix for a Fraud Model
StructureA thousand transactions sorted by prediction and truth.
Model Deployment Patterns
FlowHow five deployment patterns split live traffic between two models.
Data Drift and Concept Drift
ChartInputs shifting versus the right answer shifting.
Found this useful? Share it:
Share on LinkedIn