Difference between Regression and classification in Machine Learning

0 votes
I am new to Machine Learning. Can anyone tell me the major difference between classification and regression in machine learning?
Mar 3, 2022 in Machine Learning by Nandini
• 5,480 points
655 views

1 answer to this question.

0 votes
The goal of regression is to forecast a continuous output value. Assume you're attempting to forecast a brand's income based on a variety of input characteristics. A regression model is a function that can theoretically produce any revenue amount based on specified inputs. It may even generate revenue amounts that did not show in your training set.
Other examples of regression can be predicting house prices based on certain features, or predicting weather conditions.

The goal of classification is to figure out whether the class the input belongs to (a discrete integer or a categorical label). Take, for example, dividing sales into Low and High sales and attempting to develop a model that might forecast Low or High sales (binary/two-class classification). Even if the inputs are the same as previously, the outcome will be different. In the case of classification, your model would provide one of two responses: "Low" or "High," and each input would theoretically yield only one of these two outputs.
Few more examples for classification tasks are classifying tumor as benign or malignant, classify income groups into income >50K or <=50K, classifying penguin species into Adelie, Gentoo or Chinstrap.
thus when we have discrete groups we put them under classification and when we have continuous data we put them under regression.
answered Mar 4, 2022 by Dev
• 6,000 points

Related Questions In Machine Learning

0 votes
1 answer

Difference between classification and regression score in Python scikit learn

Classification Score is used for discrete values ...READ MORE

answered Feb 24, 2022 in Machine Learning by Nandini
• 5,480 points
395 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

feature selection for regression vs classification

There are various feature selection processes used ...READ MORE

answered Mar 3, 2022 in Machine Learning by Nandini
• 5,480 points
524 views
0 votes
1 answer

Classification vs Regression?

You are correct: categorization applies a label ...READ MORE

answered Mar 9, 2022 in Machine Learning by Nandini
• 5,480 points
435 views
+1 vote
1 answer

Building a Time series prediction model on web login timestamp

I had done something similar and ran ...READ MORE

answered Dec 7, 2018 in Data Analytics by Upasana
• 8,620 points
1,432 views
0 votes
1 answer

Assumptions of Naïve Bayes and Logistic Regression

There are very few difference between Naive ...READ MORE

answered Feb 7, 2022 in Machine Learning by Nandini
• 5,480 points
288 views
0 votes
1 answer

What is difference between loss function and RMSE in Machine Learning?

The loss function is a function of ...READ MORE

answered Feb 23, 2022 in Machine Learning by Dev
• 6,000 points
2,384 views
0 votes
1 answer

difference between classification and regression in k-nearest neighbor?

In classification tasks, the user tries to ...READ MORE

answered Mar 4, 2022 in Machine Learning by Dev
• 6,000 points
2,254 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP