ML glossary › Threshold
What is threshold in machine learning?
The cutoff. Above it we say “yes”, below it “no”.
Where it shows up
Classification
Logistic regression
To give a plain yes or no, choose a threshold, usually 50%. Above it we guess “pass”, below it “fail”. Here the switch happens at about 3.3 hours of study.
See threshold in motion. The lesson animates it step by step, free.
Open the lessonRelated terms
- Classification: Predicting a category (spam or not, cat or dog) instead of a number.
- Sigmoid: An S-shaped squasher that turns any number into a value between 0 and 1.