You want to predict yes or no. Spam or not spam. Sick or healthy. Fraud or legit.

That's a classification problem. And despite its confusing name, logistic regression is one of the best tools for it.

It doesn't predict a number. It predicts a probability. Then it uses that probability to make a yes or no decision.

Simple idea. Powerful in...