Skip to main content
Part 4 of 6 · Chapter 3 of 4

Class Imbalance

When one answer is rare, accuracy stops meaning anything and most fixes quietly make the model worse. Rebalance a fraud dataset and watch what each repair actually costs.

Intermediate12 min read

Read first: Measuring a Model


Make a free account to read on

Every chapter is free — an account is how your progress, XP, and streak follow you from your laptop to your phone, and how you show up on the leaderboard. No payment, no trial.