please explain formula

Sonja Simeonova 0 Reputation points
2024-11-12T10:51:23.1166667+00:00

please explain what is in the formula R2 = 1- ∑(y-ŷ)2 ÷ ∑(y-ȳ)2. The formula is NOT complicated if you know what is what. Also tell what is it in the ice cream example

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,976 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 35,091 Reputation points
    2024-11-12T12:09:04.91+00:00

    Sonja Simeonova Greetings & Welcome to Microsoft Q&A forum!

    Could you please share more details about your ask? Which documentation are you referring to?

    Are you following Microsoft Azure AI Fundamentals: AI Overview path?

    From the given formula R2 = 1- ∑(y-ŷ)2 ÷ ∑(y-ȳ)2

    Where y = actual values, ŷ= predicted values, ȳ= mean of actual values = 121/6 = 20.16666

    User's image

    R2 = 1- ∑(y-ŷ)2 ÷ ∑(y-ȳ)2

    R2 = 1- 36 / 740.8336

    R2 = 1-0.04859391

    R2= 0.951

    As given in the Learn Path document, R2 value is 0.95.

    Where y = actual values, ŷ= predicted values, ȳ= mean of actual values = 121/6 = 20.16666 (Yes, you calculated correctly).

    Reference: https://zcusa.951200.xyz/en-us/answers/questions/1608884/coefficient-of-determination-(r2)-fundamentals-of

    Do let me know if that helps or have any other queries.


    If the response helped, please do click Accept Answer and Yes for was this answer helpful.

    Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.