🌐
GeeksforGeeks
geeksforgeeks.org › machine learning › ml-classification-vs-regression
Classification vs Regression in Machine Learning - GeeksforGeeks
November 27, 2025 - Both are supervised learning techniques, but they solve different types of problems depending on the nature of the target variable. Classification predicts categories or labels like spam/not spam, disease/no disease, etc. Regression predicts ...
🌐
IBM
ibm.com › think › topics › classification-vs-regression
Classification vs Regression | IBM
November 17, 2025 - Classification and regression are two foundational pillars of supervised learning. In this article, we’ve explored how classification involves predicting discrete labels, while regression focuses on estimating continuous outcomes.
Discussions

How do I determine the difference between regression and classification in machine learning?
Classification: does the input map to a specific known category? Regression: what's the numerical output given the values for features assuming other output for other data points are known? More on reddit.com
🌐 r/compsci
1
0
May 31, 2016
Regression or classification? - Warm Up: Machine Learning with a Heart - DrivenData Community
Is this a classification or a regression problem? In the performance metric section, it’s written we have to submit the probability of having a heart disease which makes it not a classification problem (binary) More on community.drivendata.org
🌐 community.drivendata.org
0
March 23, 2019
terminology - Regression vs. Classification: Is there a clear, generally accepted definition? - Cross Validated
For example one can use arbitrary thresholds on predicted values to do classification from ordinary regression for continuous Y, or ordinal or binary regression for ordered or binary Y. Many in machine learning think of classification as a good default mode; it is not, as detailed in my blog post. More on stats.stackexchange.com
🌐 stats.stackexchange.com
October 29, 2022
Just curious: Classification Vs Regression task which is easier to accomplish using DL models?
I think it depends on your activation functions in your intermediary layers (FC, Conv, etc.). I think using ReLU off the bat for a regression f() can really screw things up in the future. Most formal DL study typically only consists of class. problems and rarely do you see regression problems. More on reddit.com
🌐 r/deeplearning
3
1
June 6, 2021
🌐
Udacity
udacity.com › blog › 2025 › 02 › regression-vs-classification-key-differences-and-when-to-use-each.html
Regression vs Classification - Key Differences and When to Use Each | Udacity
February 27, 2025 - While not perfectly accurate, these models can provide insights into potential future stock values. ... Classification is a core machine learning task that focuses on assigning data points to predefined categories or classes.
🌐
Simplilearn
simplilearn.com › home › resources › ai & machine learning › regression vs. classification in machine learning for beginners
Regression vs. Classification in Machine Learning for Beginners | Simplilearn
March 29, 2026 - In this article, we examine regression versus classification in machine learning, including definitions, types, differences, and uses. To learn more, click here.
🌐
Reddit
reddit.com › r/compsci › how do i determine the difference between regression and classification in machine learning?
r/compsci on Reddit: How do I determine the difference between regression and classification in machine learning?
May 31, 2016 -

I am currently doing a course by andrew Ng. And I don't understand the difference between regression and classification. So I looked at the notes and it said:

In a regression problem, we are trying to predict results within a continuous output, meaning that we are trying to map input variables to some continuous function. In a classification problem, we are instead trying to predict results in a discrete output. In other words, we are trying to map input variables into discrete categories.

and I don't even understand what they mean by a continuous function in regression.

🌐
Coursera
coursera.org › coursera articles › data › ai and machine learning › classification vs. regression in machine learning: what’s the difference?
Classification vs. Regression in Machine Learning: What’s the Difference? | Coursera
February 12, 2026 - In machine learning, classification categorizes data into predefined groups based on shared characteristics. Regression in machine learning is a technique for predicting a continuous outcome from input variables.
🌐
Springboard
springboard.com › blog › data science › regression vs. classification in machine learning: what’s the difference?
Regression vs. Classification in Machine Learning: What's the Difference?
September 28, 2023 - The most significant difference between regression vs classification is that while regression helps predict a continuous quantity, classification predicts discrete class labels. There are also some overlaps between the two types of machine learning ...
Find elsewhere
🌐
Analytics Vidhya
analyticsvidhya.com › home › regression vs classification in machine learning explained!
Regression vs Classification in Machine Learning Explained!
September 12, 2024 - ... A. Data types · B. Objectives · C. Accuracy requirements · Regression algorithms predict continuous value from the provided input. A supervised learning algorithm uses real values to predict quantitative data like income, height, weight, ...
🌐
Medium
medium.com › @hazallgultekin › classification-vs-regression-e15c619604f7
Classification vs Regression. In this article, I will explain… | by Hazal Gültekin | Medium
December 2, 2023 - Neural Network Regression: Learns and makes predictions using artificial neural networks. An attempt is made to predict the y class categorically using x (input values). To simplify it, the value we predict in classification problems is not a numerical value (such as salary, height), but categorical values such as sick/healthy, rainy/sunny, successful/unsuccessful, positive/negative.
🌐
DrivenData Community
community.drivendata.org › warm up: machine learning with a heart
Regression or classification? - Warm Up: Machine Learning with a Heart - DrivenData Community
March 23, 2019 - Is this a classification or a regression problem? In the performance metric section, it’s written we have to submit the probability of having a heart disease which makes it not a classification problem (binary)
🌐
Nixus
nixustechnologies.com › home › classification vs regression in machine learning
Classification vs Regression in Machine Learning - Nixus
March 27, 2023 - Regression is used for problems with continuous forms of data such as salary, marks, age, etc. while classification algorithms are used for data with categories or discrete values such as Men or Women, Yes or No, Good or Bad, etc.
🌐
Educative
educative.io › answers › what-is-the-difference-between-regression-and-classification
What is the difference between regression and classification?
The key difference between classification and regression is that classification predicts a discrete label, ​while regression predicts a continuous quantity or value. Let’s consider regression and classification individually:
🌐
Scaler
scaler.com › home › topics › difference between regression and classification in machine learning
Difference Between Regression and Classification in Machine Learning - Scaler Topics
April 13, 2024 - It demonstrates computational efficiency and performs effectively with high-dimensional datasets. Regression algorithms in machine learning are techniques used to predict continuous numerical values based on input features.
🌐
Team Acua
acua.qcri.org › home › comparing the results: classification vs. regression models in machine learning
Comparing the Results: Classification vs. Regression Models in Machine Learning - Team Acua
May 2, 2023 - The output of a classification model is a probability or score indicating the likelihood of a new observation belonging to each category. On the other hand, regression models are used when the outcome variable is continuous or numeric, meaning ...
Top answer
1 of 7
15

Classification denotes an action. It's what you do with the result of an analysis in which there is one or more outcome variables and one or more input (predictor; covariate) variables. If there is a single outcome variable, the discreteness of the variable does not matter. For example, binary logistic regression is for binary Y and is a direct (continuous) probability model that was not intended to be used for classification. The action of classification involves making choices and use of decision rules. In most cases it represents a premature decision made by an analyst who is not blessed with knowledge about the consequence of the decision (i.e., does not possess the utility/loss/cost function needed to make a good decision).

One can use any predictive method to do classification even if that was not the intent of the method. For example one can use arbitrary thresholds on predicted values to do classification from ordinary regression for continuous Y, or ordinal or binary regression for ordered or binary Y.

Many in machine learning think of classification as a good default mode; it is not, as detailed in my blog post. Among other things, classification hides close calls and lulls users into making decisions at the boundaries (e.g., when a predicted probability is 0.5001) when a better approach would be "get more data first".

Most of the time when you see classifier used in a sentence the correct term is prediction when the output is considered to be continuous.

2 of 7
10

No, I don't think that definition is generally accepted. I would not regard Poisson regression as classification as the thing you are generally interested is the conditional values of a Poisson distribution that describes the distribution of the target variable for those values of the attributes. Those parameters are generally continuous. You might then use that to work out the most likely count, but that would be discretising the predictive distribution given by the model.

Likewise some here (e.g. Frank Harrell - see his answer to this question +1) view logistic regression purely as a probabilistic model, used to estimate a conditional probability, and not as a classification model (which is what you get by applying a threshold and discretising the continuous output of the model). I have a lot of sympathy with this view, except that in practical applications where you need to perform that discretisation, that still impacts on the design and evaluation of the model and shouldn't be ignored. The optimal classification is not always obtained by estimating the probability of class membership and thresholding, sometimes it is better to classify the data directly. If that were not the case, [kernel] logistic regression would not perform worse than the Support Vector Machine, but on some applications it clearly does.

I'd probably say that a classifier is a problem where the target distribution is categorical, and the aim to to place each object into a category.

🌐
Google
developers.google.com › machine learning › what is machine learning?
What is Machine Learning? | Google for Developers
Classification models predict whether or not something belongs to a category, while regression models predict a number. Because energy usage is measured in kilowatt-hours (kWh), which is a number, you'd want to use a regression model.
🌐
Medium
medium.com › @hassaanidrees7 › cracking-the-code-regression-vs-classification-in-machine-learning-0872c6de1679
Cracking the Code: Regression vs. Classification in Machine Learning | by Hassaan Idrees | Medium
June 23, 2024 - K-Nearest Neighbors (KNN): Classifies new data points based on the majority class of the k-nearest neighbors. ... Regression: Predicts continuous numerical values (e.g., predicting the temperature).
🌐
Medium
assadshahbaz.medium.com › classification-vs-regression-3f5167cfbe08
Classification vs Regression - Assad Shahbaz - Medium
Read writing from Assad Shahbaz on Medium. Senior Frontend Developer, Angular, Node.js, Nest.js. MySQL, MongoDB, MEAN, Full Stack Engineer. Every day, Assad Shahbaz and thousands of other voices read, write, and share important stories on Medium.