R2 score Vs Accuracy

how formula of r2_score is actually giving accuracy??

Hey @Bhawnak, r2_score is used in regression problems, whereas accuracy function is used in classification problem.

So always keep in mind to use r2_score in regression problem.

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. :blush:

Means r2_score gives accuracy or not??It gives measure of what??

Hey @Bhawna, yes r2 score gives measure of goodness of the regression model.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.