Difference between classification and regression score in Python scikit learn

0 votes

I a, new for python scikit learning I develop a data mining algorithm using scikit learn classification methods and now i need to find its accuracy. first just need to know,

What is difference between classification and regression score in Python scikit learn?

Is there any other way that i can calculate accuracy of my prediction algorithm?

r2_score(y_test,predictions)
f1_score(y_test,predictions)

Regression score (%)== 66%
Classification score (%) == 75%
Feb 24, 2022 in Machine Learning by Dev
• 6,000 points
163 views

1 answer to this question.

0 votes
Classification Score is used for discrete values , having distinct class labels,like yes or no, survived, not survived
whereas Regression score is used for continuous values, like prediction house prices, weather conditions.
answered Feb 24, 2022 by Nandini
• 5,480 points

Related Questions In Machine Learning

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
1,276 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
191 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
137 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,100 points
616 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 3,314 views
0 votes
1 answer
0 votes
1 answer

What is the difference between linear regression and logistic regression?

Hi Dev, to answer your question Linear Regression ...READ MORE

answered Feb 2, 2022 in Machine Learning by Nandini
• 5,480 points
340 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