SlideShare a Scribd company logo
1 of 28
Mr.Anas Lahrichi
 WALT : Correction of Homework
 Quiz 4
 Use of residuals to compute error in prediction.
Lesson 15/16
 Practice in interpreting residual data
 Residual Plots
 WILF : A lesson won’t make sense unless you always
review what we have done before
 TIB :Whenever predicting,having a percent error helps
determine the confidence
 Apologies for delay in grading quiz 3, you’ll
have it by next session.
 My next office hours are Tuesday 16th
October.
 A linear model is represented with the form
of equation : 𝑦 = 𝑚𝑥 + 𝑏
 Residual : Difference between predicted and
actual y-values
 Residual = actual y-value – predictedy-value
 To interpret the residuals,we need to square
each one and add them up => The least
squares line
 The line of best fit to a linear relationship is
the one that has the smallest sum of squared
residuals
 min( 𝑟𝑒𝑠𝑖𝑑𝑢𝑎𝑙𝑠
2
)
 Khanacademy skills posted on classroom
 Spread the chairs
 Individual , no discussion
 Any attempt at cheating will result in a 0
 Knowing the residuals,we can calculate the
error of prediction
 Small residuals => Good fit => Low error in
prediction
 Big residuals => Bad fit => Big error in
prediction
 Answer on the worksheet handed out per group
• Listen carefully to the instructions
• Take 10 minutes to do the exercises.
• Stay focused
• Voice level 1 discussions (no excessive noise)
• Raise your hand quietly for questions and wait for
me to come
 When a least squares line is used to calculate
a predicted value, the prediction error can be
measured by residual
 On the graph, the residuals are the vertical
distances of the points from the least squares
line.
 The residuals give us an idea how close a
prediction might be when the least squares
line is used to make a prediction for a value
that is not included in the data set.
 We’ll practice computing
residuals,interpreting them and even
graphing them.
 Let’s consider an example together
 Terminology :
 The curb weight of a car is the weight of the
car without luggage or passengers.
 Fuel efficiency : how many miles per gallon
 Will the residual for the car whose curb
weight is 𝟐5.33 hundred pounds be positive
or negative? Roughly what is the value of the
residual for this point?
 Positive residual of 𝟑 mpg; the actual value is
approximately 𝟑 units above the line.
 Will the residual for the car whose curb
weight is 𝟐7 hundred pounds be positive or
negative? Roughly what is the value of the
residual for this point?
 Negative residual of −𝟔 mpg; the actual value
is 𝟔 units below the line.
 With a lot of data,these residual tables could
get very lengthy,Is there any easier way ?
 Yes,through graphing
 What do we call a graph of residuals ?
 Residual Plot
 What is the usefulness of a residual plot ?
 It shows how predictive the model is.
 What does a good predictive model mean ?
 Low error in prediction
 We plot residuals on y-axis for each x value
 We add the horizontal line at 0 and leave
space for both positive and negative residuals
 By reading the residual plot, you should be
able to guess what the original data looks
like.
 It is crucial to understand the mechanism
with which we compute residuals.
 Video :
https://www.youtube.com/watch?v=EB5a_vE
Nd5Q
Student Warning
1
Warning 2 Demerit
 Do not talk unless you have
permission (Raise your hand)
 No talking back (Come see in end
of class)
 Stay focused and on task
 Respect your classmates and
teacher
 Be prepared
 You are expected to do your homework on the
due date (no excuses)
 Every time you miss a homework you get a
strike,after 3 your parents are informed
 Not doing your homework will negatively affect
your grade in participation and quizzes
 The corrected quiz as well as rubrics will be posted on
Engrade.
 An individual assesment means no discussion at all. Any
talking will result in a 0.
 If you missed a quiz/test, you are responsible to come to
office hours to retake it.
 Come see me right after class or office hours to discuss
your copy, do not bring it up inside class.
 Any copy written in pencil cannot be considered for re-
grading, use a pen.

More Related Content

What's hot

Sec. 8.7
Sec. 8.7Sec. 8.7
Sec. 8.7bweldon
 
Skill25 algebraic fractions
Skill25 algebraic fractionsSkill25 algebraic fractions
Skill25 algebraic fractionsdware655
 
Skill9 scale drawings
Skill9 scale drawingsSkill9 scale drawings
Skill9 scale drawingsdware655
 
104 05 Integers Lesson
104 05 Integers Lesson104 05 Integers Lesson
104 05 Integers LessonBitsy Griffin
 
Unit 4 review irrational numbers
Unit 4 review   irrational numbersUnit 4 review   irrational numbers
Unit 4 review irrational numbersjulienorman80065
 
Skill5 order of operations
Skill5 order of operationsSkill5 order of operations
Skill5 order of operationsdware655
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1nglaze10
 

What's hot (10)

Sec. 8.7
Sec. 8.7Sec. 8.7
Sec. 8.7
 
Skill25 algebraic fractions
Skill25 algebraic fractionsSkill25 algebraic fractions
Skill25 algebraic fractions
 
Skill9 scale drawings
Skill9 scale drawingsSkill9 scale drawings
Skill9 scale drawings
 
104 05 Integers Lesson
104 05 Integers Lesson104 05 Integers Lesson
104 05 Integers Lesson
 
Unit 4 review irrational numbers
Unit 4 review   irrational numbersUnit 4 review   irrational numbers
Unit 4 review irrational numbers
 
Ratios and proportions
Ratios and proportionsRatios and proportions
Ratios and proportions
 
Scientific notation
Scientific notationScientific notation
Scientific notation
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
Skill5 order of operations
Skill5 order of operationsSkill5 order of operations
Skill5 order of operations
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1
 

Similar to 11th octoberalg2

Module 1 solving inequalities notes
Module 1 solving inequalities notesModule 1 solving inequalities notes
Module 1 solving inequalities notesMichelle Barnhill
 
G6 m4-g-lesson 24-t
G6 m4-g-lesson 24-tG6 m4-g-lesson 24-t
G6 m4-g-lesson 24-tmlabuski
 
G6 m1-a-lesson 8-t
G6 m1-a-lesson 8-tG6 m1-a-lesson 8-t
G6 m1-a-lesson 8-tmlabuski
 
Proportion
ProportionProportion
Proportiontvierra
 
Ratios and Proportions.pdf
Ratios and Proportions.pdfRatios and Proportions.pdf
Ratios and Proportions.pdfHeilySigala
 
Estimating square roots
Estimating square rootsEstimating square roots
Estimating square rootsCindy Smith
 
Estimating square roots
Estimating square rootsEstimating square roots
Estimating square rootsCindy Smith
 
Estimating square roots
Estimating square rootsEstimating square roots
Estimating square rootsCindy Smith
 
Chapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdfChapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdfMinaSaflor
 
Using Excel to Build Understanding AMATYC 2015
Using Excel to Build Understanding AMATYC 2015Using Excel to Build Understanding AMATYC 2015
Using Excel to Build Understanding AMATYC 2015kathleenalmy
 
Essentials of machine learning algorithms
Essentials of machine learning algorithmsEssentials of machine learning algorithms
Essentials of machine learning algorithmsArunangsu Sahu
 
Math 009 Final Examination Spring, 2015 1 Answer Sheet M.docx
Math 009 Final Examination Spring, 2015 1 Answer Sheet M.docxMath 009 Final Examination Spring, 2015 1 Answer Sheet M.docx
Math 009 Final Examination Spring, 2015 1 Answer Sheet M.docxandreecapon
 
G6 m1-a-lesson 8-t
G6 m1-a-lesson 8-tG6 m1-a-lesson 8-t
G6 m1-a-lesson 8-tmlabuski
 
G6 m1-a-lesson 8-t
G6 m1-a-lesson 8-tG6 m1-a-lesson 8-t
G6 m1-a-lesson 8-tmlabuski
 
ML Study Jams - Session 3.pptx
ML Study Jams - Session 3.pptxML Study Jams - Session 3.pptx
ML Study Jams - Session 3.pptxMayankChadha14
 
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docxPage 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docxbunyansaturnina
 
Introduction to simulating data to improve your research
Introduction to simulating data to improve your researchIntroduction to simulating data to improve your research
Introduction to simulating data to improve your researchDorothy Bishop
 

Similar to 11th octoberalg2 (20)

Module 1 solving inequalities notes
Module 1 solving inequalities notesModule 1 solving inequalities notes
Module 1 solving inequalities notes
 
G6 m4-g-lesson 24-t
G6 m4-g-lesson 24-tG6 m4-g-lesson 24-t
G6 m4-g-lesson 24-t
 
3rd octoberalg2
3rd octoberalg23rd octoberalg2
3rd octoberalg2
 
G6 m1-a-lesson 8-t
G6 m1-a-lesson 8-tG6 m1-a-lesson 8-t
G6 m1-a-lesson 8-t
 
Proportion
ProportionProportion
Proportion
 
Ratios and Proportions.pdf
Ratios and Proportions.pdfRatios and Proportions.pdf
Ratios and Proportions.pdf
 
Estimating square roots
Estimating square rootsEstimating square roots
Estimating square roots
 
Estimating square roots
Estimating square rootsEstimating square roots
Estimating square roots
 
Estimating square roots
Estimating square rootsEstimating square roots
Estimating square roots
 
9th octoberalg2
9th octoberalg29th octoberalg2
9th octoberalg2
 
Chapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdfChapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdf
 
Using Excel to Build Understanding AMATYC 2015
Using Excel to Build Understanding AMATYC 2015Using Excel to Build Understanding AMATYC 2015
Using Excel to Build Understanding AMATYC 2015
 
Essentials of machine learning algorithms
Essentials of machine learning algorithmsEssentials of machine learning algorithms
Essentials of machine learning algorithms
 
Math 009 Final Examination Spring, 2015 1 Answer Sheet M.docx
Math 009 Final Examination Spring, 2015 1 Answer Sheet M.docxMath 009 Final Examination Spring, 2015 1 Answer Sheet M.docx
Math 009 Final Examination Spring, 2015 1 Answer Sheet M.docx
 
G6 m1-a-lesson 8-t
G6 m1-a-lesson 8-tG6 m1-a-lesson 8-t
G6 m1-a-lesson 8-t
 
G6 m1-a-lesson 8-t
G6 m1-a-lesson 8-tG6 m1-a-lesson 8-t
G6 m1-a-lesson 8-t
 
ML Study Jams - Session 3.pptx
ML Study Jams - Session 3.pptxML Study Jams - Session 3.pptx
ML Study Jams - Session 3.pptx
 
Regresión
RegresiónRegresión
Regresión
 
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docxPage 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
 
Introduction to simulating data to improve your research
Introduction to simulating data to improve your researchIntroduction to simulating data to improve your research
Introduction to simulating data to improve your research
 

More from Anas Lahrichi

Drive thru project presentation
Drive thru project presentationDrive thru project presentation
Drive thru project presentationAnas Lahrichi
 
automotive radiator process chart flow
 automotive radiator process chart flow automotive radiator process chart flow
automotive radiator process chart flowAnas Lahrichi
 
Design for manufacturing ppt anas lahrichi
Design for manufacturing ppt anas lahrichiDesign for manufacturing ppt anas lahrichi
Design for manufacturing ppt anas lahrichiAnas Lahrichi
 
Pd holisitc knowledge 19th sep meeting
Pd holisitc knowledge 19th sep meetingPd holisitc knowledge 19th sep meeting
Pd holisitc knowledge 19th sep meetingAnas Lahrichi
 
advisory : developing personal power
 advisory : developing personal power advisory : developing personal power
advisory : developing personal powerAnas Lahrichi
 
advisory : improving well being
advisory : improving well beingadvisory : improving well being
advisory : improving well beingAnas Lahrichi
 
Advisory session 18th dec gathering information
Advisory session 18th dec gathering informationAdvisory session 18th dec gathering information
Advisory session 18th dec gathering informationAnas Lahrichi
 
27thseptember8thgrade
27thseptember8thgrade27thseptember8thgrade
27thseptember8thgradeAnas Lahrichi
 
28thseptember7thgrade [autosaved]
28thseptember7thgrade [autosaved]28thseptember7thgrade [autosaved]
28thseptember7thgrade [autosaved]Anas Lahrichi
 
27thseptember7thgrade2
27thseptember7thgrade227thseptember7thgrade2
27thseptember7thgrade2Anas Lahrichi
 
1st october8thgrade (1)
1st october8thgrade (1)1st october8thgrade (1)
1st october8thgrade (1)Anas Lahrichi
 
26thseptember7thgrade
26thseptember7thgrade26thseptember7thgrade
26thseptember7thgradeAnas Lahrichi
 

More from Anas Lahrichi (20)

Drive thru project presentation
Drive thru project presentationDrive thru project presentation
Drive thru project presentation
 
automotive radiator process chart flow
 automotive radiator process chart flow automotive radiator process chart flow
automotive radiator process chart flow
 
Design for manufacturing ppt anas lahrichi
Design for manufacturing ppt anas lahrichiDesign for manufacturing ppt anas lahrichi
Design for manufacturing ppt anas lahrichi
 
Pd holisitc knowledge 19th sep meeting
Pd holisitc knowledge 19th sep meetingPd holisitc knowledge 19th sep meeting
Pd holisitc knowledge 19th sep meeting
 
Advisory curriculum
Advisory curriculumAdvisory curriculum
Advisory curriculum
 
advisory : developing personal power
 advisory : developing personal power advisory : developing personal power
advisory : developing personal power
 
advisory : improving well being
advisory : improving well beingadvisory : improving well being
advisory : improving well being
 
Advisory session 18th dec gathering information
Advisory session 18th dec gathering informationAdvisory session 18th dec gathering information
Advisory session 18th dec gathering information
 
27thseptemberalg2
27thseptemberalg227thseptemberalg2
27thseptemberalg2
 
25thseptemberalg2
25thseptemberalg225thseptemberalg2
25thseptemberalg2
 
27thseptember8thgrade
27thseptember8thgrade27thseptember8thgrade
27thseptember8thgrade
 
5th octoberalg2
5th octoberalg25th octoberalg2
5th octoberalg2
 
1st october8thgrade
1st october8thgrade1st october8thgrade
1st october8thgrade
 
1st octoberalg2
1st octoberalg21st octoberalg2
1st octoberalg2
 
3rd october8thgrade
3rd october8thgrade3rd october8thgrade
3rd october8thgrade
 
28thseptember7thgrade [autosaved]
28thseptember7thgrade [autosaved]28thseptember7thgrade [autosaved]
28thseptember7thgrade [autosaved]
 
27thseptember7thgrade2
27thseptember7thgrade227thseptember7thgrade2
27thseptember7thgrade2
 
10thoctober7thgrade
10thoctober7thgrade10thoctober7thgrade
10thoctober7thgrade
 
1st october8thgrade (1)
1st october8thgrade (1)1st october8thgrade (1)
1st october8thgrade (1)
 
26thseptember7thgrade
26thseptember7thgrade26thseptember7thgrade
26thseptember7thgrade
 

Recently uploaded

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 

Recently uploaded (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 

11th octoberalg2

  • 2.  WALT : Correction of Homework  Quiz 4  Use of residuals to compute error in prediction. Lesson 15/16  Practice in interpreting residual data  Residual Plots  WILF : A lesson won’t make sense unless you always review what we have done before  TIB :Whenever predicting,having a percent error helps determine the confidence
  • 3.  Apologies for delay in grading quiz 3, you’ll have it by next session.  My next office hours are Tuesday 16th October.
  • 4.  A linear model is represented with the form of equation : 𝑦 = 𝑚𝑥 + 𝑏  Residual : Difference between predicted and actual y-values  Residual = actual y-value – predictedy-value  To interpret the residuals,we need to square each one and add them up => The least squares line
  • 5.  The line of best fit to a linear relationship is the one that has the smallest sum of squared residuals  min( 𝑟𝑒𝑠𝑖𝑑𝑢𝑎𝑙𝑠 2 )
  • 6.  Khanacademy skills posted on classroom
  • 7.  Spread the chairs  Individual , no discussion  Any attempt at cheating will result in a 0
  • 8.  Knowing the residuals,we can calculate the error of prediction  Small residuals => Good fit => Low error in prediction  Big residuals => Bad fit => Big error in prediction
  • 9.
  • 10.
  • 11.  Answer on the worksheet handed out per group • Listen carefully to the instructions • Take 10 minutes to do the exercises. • Stay focused • Voice level 1 discussions (no excessive noise) • Raise your hand quietly for questions and wait for me to come
  • 12.
  • 13.
  • 14.  When a least squares line is used to calculate a predicted value, the prediction error can be measured by residual  On the graph, the residuals are the vertical distances of the points from the least squares line.  The residuals give us an idea how close a prediction might be when the least squares line is used to make a prediction for a value that is not included in the data set.
  • 15.  We’ll practice computing residuals,interpreting them and even graphing them.  Let’s consider an example together  Terminology :  The curb weight of a car is the weight of the car without luggage or passengers.  Fuel efficiency : how many miles per gallon
  • 16.
  • 17.
  • 18.  Will the residual for the car whose curb weight is 𝟐5.33 hundred pounds be positive or negative? Roughly what is the value of the residual for this point?  Positive residual of 𝟑 mpg; the actual value is approximately 𝟑 units above the line.  Will the residual for the car whose curb weight is 𝟐7 hundred pounds be positive or negative? Roughly what is the value of the residual for this point?  Negative residual of −𝟔 mpg; the actual value is 𝟔 units below the line.
  • 19.
  • 20.  With a lot of data,these residual tables could get very lengthy,Is there any easier way ?  Yes,through graphing  What do we call a graph of residuals ?  Residual Plot  What is the usefulness of a residual plot ?  It shows how predictive the model is.  What does a good predictive model mean ?  Low error in prediction
  • 21.
  • 22.  We plot residuals on y-axis for each x value  We add the horizontal line at 0 and leave space for both positive and negative residuals
  • 23.
  • 24.  By reading the residual plot, you should be able to guess what the original data looks like.  It is crucial to understand the mechanism with which we compute residuals.  Video : https://www.youtube.com/watch?v=EB5a_vE Nd5Q
  • 26.  Do not talk unless you have permission (Raise your hand)  No talking back (Come see in end of class)  Stay focused and on task  Respect your classmates and teacher  Be prepared
  • 27.  You are expected to do your homework on the due date (no excuses)  Every time you miss a homework you get a strike,after 3 your parents are informed  Not doing your homework will negatively affect your grade in participation and quizzes
  • 28.  The corrected quiz as well as rubrics will be posted on Engrade.  An individual assesment means no discussion at all. Any talking will result in a 0.  If you missed a quiz/test, you are responsible to come to office hours to retake it.  Come see me right after class or office hours to discuss your copy, do not bring it up inside class.  Any copy written in pencil cannot be considered for re- grading, use a pen.