Index Ai Academy
Glossary · Phase 3 · Machine learning

Undersampling

Also written: undersample

Training on every example of the rare class and a random sample of the common one, so the classes are balanced; it throws data away.

Try it now

Slide the threshold and watch precision and recall trade places. Then lower the share who churned and see accuracy stop telling you anything.

Learn it properly

Precision, recall and F1 · Accuracy lies; these don't. About 30 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write