Summation and coefficient of determination

999 20 Reputation points
2024-03-13T05:38:59.05+00:00

Hi Support,

I recently started the AI course, and while going through the learning paths, I came across the regression and couldn't understand the given formula. How it is calculated and from where is came from in the given formula R2 = 1- ∑(y-ŷ)2 ÷ ∑(y-ȳ)2.

Can the support team help to understand the above formula and how could that calculated in ice cream example.

Thanks in advance.

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
922 questions
{count} votes

Accepted answer
  1. Rakesh Gurram 2,920 Reputation points Microsoft Vendor
    2024-03-13T06:12:41.06+00:00

    Hi 999,

    Thanks for reaching out to us on Microsoft Q&A forum.

    From your question we understand that you are in the following

    Learn path: Microsoft Azure AI Fundamentals: AI Overview

    The formula is from the following module: Fundamentals of machine learning.

    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.

    I hope you understand!

    If the information is helpful, please Accept Answer so that it would be helpful to other community members.

    Thank you.

    5 people found this answer helpful.

0 additional answers

Sort by: Most helpful