Classification vs Regression

0 votes

 am not quite sure what the differences are between classification and regression.

From what I understand is that classification is something that is categorical. It's either this or it's either that.

Regression is more of a prediction.

enter image description here

Both of the problems above would be more of a Regression problem right? It is both using a learning algorithm to predict. Could anyone give an example of Classification vs Regression?

Mar 5, 2022 in Machine Learning by Dev
• 6,000 points
764 views

1 answer to this question.

0 votes
You are correct: categorization applies a label (or 'class') to any given data point. As you mentioned, this term is category. Consider malware classification: given a file, is it malware or not? (The "label" will be the 'yes' or 'no' answer to this question.)

The purpose of regression, on the other hand, is to forecast an actual value (i.e. not categorical). Predicting someone's weight based on their height and age is an example.

So, in either of the questions you've posed, the answer boils down to what you're looking for from your prediction: a category or a true value?

Regression is the process of finding the relationship and the effect of this relationship on the outcome of the future value of an object, whereas classification is the process of grouping data into categories for the most effective and efficient usage. 2.In order to predict numerical and categorical data, classification is employed, whereas regression is used to forecast numerical data.
answered Mar 9, 2022 by Nandini
• 5,480 points

Related Questions In Machine Learning

0 votes
1 answer

Is predicting number of sales a Regression or Classification problem?

The output will be discrete but the ...READ MORE

answered Feb 25, 2022 in Machine Learning by Dev
• 6,000 points
1,288 views
0 votes
0 answers

Difference between classification and regression, with SVMs

What is the exact difference between a ...READ MORE

Feb 28, 2022 in Machine Learning by Dev
• 6,000 points
766 views
0 votes
1 answer

L2 regularization in Logistic regression vs NN

L2 Regularization is known as Ridge Regression. ...READ MORE

answered Mar 2, 2022 in Machine Learning by Nandini
• 5,480 points
1,848 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,669 views
0 votes
0 answers

Limitations of Regression in Machine Learning?

what happens when you want to do ...READ MORE

Feb 28, 2022 in Machine Learning by Dev
• 6,000 points
367 views
0 votes
1 answer

Difference between Regression and classification in Machine Learning?

The goal of regression is to forecast ...READ MORE

answered Mar 4, 2022 in Machine Learning by Dev
• 6,000 points
868 views
0 votes
1 answer

How to evaluate a soft Voting classifier being trained on some data

VotingClassifier does not have a best_score_ attribute. ...READ MORE

answered Sep 6, 2018 in Python by Priyaj
• 58,020 points
1,173 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,702 views
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
747 views
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
600 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