Machine Learning Explained

Clear explanations of key ideas in machine learning, one concept at a time.

Topics: All articles  |  Machine Learning Explained  |  Exam Preparation  |  Problems and Solutions  |  Studies and Careers  |  Competition News

Close-up of a vintage cream typewriter on a pale surface, with “MACHINE LEARNING” typed in bold black letters on white paper.

What Is Data Leakage in Machine Learning? A Package Test

November 17, 2026 · Julia Berens · Machine Learning Explained

A package model can score perfectly by using the time the package actually arrived. At dispatch, that timestamp does not exist yet. Read more

A close-up of a firework bursting in orange, gold, and red streaks against a black night sky.

Why Is Feature Scaling Important in KNN?

October 22, 2026 · Julia Berens · Machine Learning Explained

A bike ride can have a different nearest neighbor after scaling, even though nothing about either ride changes. Follow the distances by hand to see why. Read more

A glowing mesh of red, yellow, green, and blue dots curves across a dark screen beside blurred color controls.

How Does a Decision Tree Work? Follow One Prediction

September 1, 2026 · Julia Berens · Machine Learning Explained

Follow one library return through a small decision tree. At each split, see which training examples stay in play and which ones drop out. Read more

Two coworkers in pale blue shirts work at laptops in a bright, softly blurred office with white desks and green plants.

How to Read a Confusion Matrix for a Spam Filter

June 17, 2026 · Julia Berens · Machine Learning Explained

A spam filter can block a real email or let junk through. Build a two by two table from eight predictions and see where each mistake belongs. Read more

Three coworkers shake hands in a bright office beside a large window, with muted blue, gray, and cream tones.

Gradient Descent Explained Simply With Two Updates

March 6, 2026 · Julia Berens · Machine Learning Explained

Work through two gradient descent updates by hand. Then see how changing the learning rate can shorten a step, cross the minimum, or make the loss rise. Read more

Close-up of a vintage cream typewriter with white paper reading “MACHINE LEARNING” in black, against a softly blurred, neutral background.

What Is Overfitting in Machine Learning? A Tale of Two Curves

November 24, 2025 · Julia Berens · Machine Learning Explained

One curve hits every training point. The other misses all three but predicts two new points more accurately. Plot them both to see why. Read more