Share via

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

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 36,021 Reputation points Moderator
    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://learn.microsoft.com/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.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments