Knowledge · AI Basics

Classification and Regression

Classification & Regression

📂AI Basics⏱2-min read📊Practical🔗3 related

What are classification and regression?

In one line
The two core tasks of supervised learning. Classification predicts 'which type' (a category); regression predicts 'how much' (a number).
⚡ Summary in 3 lines
  • Classification = predicting a category (type)
  • Regression = predicting a number (value)
  • The two core tasks of supervised learning

Requests usually arrive as a single sentence: 'Let's forecast demand.' Whether that means 'how many units to order next month' or 'which items are at risk of stockout' changes everything, from how you label the data to the report format. One line in the project brief shapes six months of work. Before choosing a model, write down what the person receiving the prediction will do with it, and you won't get lost at this fork.

Classification comes in binary (churn/retain), multiclass (5 defect types), and multilabel (several tags on one document). Most classification models output a probability between 0 and 1, so the 0.5 cutoff is a tuning variable, not a fixed value. If the sales team can only handle 30 cases a day, raise the cutoff to 0.72 and hand over just the top 30. Evaluation metrics differ too: classification uses precision, recall, F1, and AUC, while regression uses MAE, RMSE, and MAPE. A numeric target such as purchase amount can be turned into a classification problem by splitting it into 'KRW 3 million (≈ US$2,240) or more / less', but at that moment KRW 2.99 million (≈ US$2,240) and KRW 100,000 (≈ US$75) land in the same bucket.

Accuracy is where projects break most often. At a company with 3% monthly churn, a model that labels every customer 'retained' still scores 97% accuracy. The number looks great, yet it catches zero churning customers. Regression has the same trap. Even with an R² of 0.9, if a few peak-season orders miss by more than 40%, the purchasing manager will never look at that number again. Another common mistake is using a classification result directly in a monetary decision. '80% churn probability' does not mean 'KRW 8 million (≈ US$5,990) in losses.' If you need a monetary figure, either add a separate regression model or multiply the probability by each customer's contribution margin to get the value at risk.

Courses that cover this term · AI & DX
Recommended courses · Recommended instructors · Quick quote
🧮 Mini quote · Based on instructor fees
About KRW 1.2 million (≈ US$900)2-hour talk · up to 20 people · Korean
Get a quote for these requirements →
💡 In plain English
'Dog or cat?' (classification) versus 'How much is the house?' (regression): the split depends on whether you're predicting a type or a number.
Why it matters in practice
This is where AI project design starts. Whether the task is classification or regression determines which methods and metrics you use.
Classification vs. Regression
CategoryClassificationRegression
Prediction targetCategory (type)A continuous number (value)
YesSpam/not spam, dog/catHouse prices, tomorrow's sales
Question'Which one is it?''How much?'
Origin and sources

These are the two basic prediction problems in statistics and machine learning, and they form the foundation of supervised learning.

An example

Consider a hypothetical case. Company A, an industrial parts distributor with 260 employees and annual revenue of KRW 110 (≈ US$1) billion, manages 1,400 customer accounts. When the number of accounts that stopped buying last year grew to 190, management told the team to 'predict churn with AI,' and the data team started a three-month project.

  1. In the first meeting, the head of sales asked us to "pinpoint which accounts will leave," while the finance lead said "what I want to know is how much revenue we lose." Two different questions were mixed into one project.
  2. The data team lead separated the two questions. 'Will the account stop ordering within 3 months?' became a classification model, and 'expected order value over the next 6 months' became a separate regression model.
  3. The classification model's first report showed 94% accuracy, but it caught only 22 of the 190 accounts that actually churned. Lowering the decision threshold from 0.5 to 0.28 raised recall to 68%.
  4. The regression model's MAPE spiked to 31% on the top 50 large accounts. After separating out small accounts and shortening the training window to the most recent 18 months, MAPE came down to 14%.
  5. The sales division multiplied the two outputs to rank accounts by value at risk (churn probability × expected order value), then scheduled branch manager visits for the top 120.
  6. Six months later, quarterly account churn fell from 48 accounts to 29, and the annualized order value retained was about KRW 2.7 billion (≈ US$2,020,100). The head of sales said, "If we had only asked for a list of at-risk accounts, we'd have gotten half the answer."
Related terms
Training linked to this term
📚Practical Introduction to Agentic AINanum Consulting corporate training · On-site or onlineView course →
Need in-house training on this topic?
Get a curriculum and quote tailored to your needs right away.
Ask About Training
Last updated 13 Sep 2026 · Reviewed by John Kim

FAQ

If the target is a 'category (type)', it’s classification. If it’s a 'continuous number (value)', it’s regression.
Yes. Both are flagship supervised learning tasks that learn from data with correct answers (labels).
If the target is a 'category (type)', it’s classification. If it’s a 'continuous number (value)', it’s regression.
The methods and metrics differ by problem type, as in churn prediction (classification) versus sales forecasting (regression).