SlideShare a Scribd company logo
1 of 1
Download to read offline
Consider the following "dataset" with a single feature x, and corresponding true label values y
are shown in the table below [16] a) Plot the data of y against x in a scatterplot [2] b) Find the
updated value of m and c up to the 2=nd iteration. [ Assume the avg line and its corresponding m
and c as the first iteration value. Assume that the learning rate =0.01. Use MSE as your cost
function here] [8] c) Find the final predicted value y hat for this dataset after 2nd iteration [3] d)
Compute the RMSE between the final predicted values obtained in (b) and true label values,
showing all work. [3]

More Related Content

More from aucmistry

Haz un resumen del siguiente pasaje y dale un t�tulo adecuado. Has.pdf
Haz un resumen del siguiente pasaje y dale un t�tulo adecuado. Has.pdfHaz un resumen del siguiente pasaje y dale un t�tulo adecuado. Has.pdf
Haz un resumen del siguiente pasaje y dale un t�tulo adecuado. Has.pdf
aucmistry
 
HAPTER 9 - Other Income, Other Deductions and Other IssuesIntroduc.pdf
HAPTER 9 - Other Income, Other Deductions and Other IssuesIntroduc.pdfHAPTER 9 - Other Income, Other Deductions and Other IssuesIntroduc.pdf
HAPTER 9 - Other Income, Other Deductions and Other IssuesIntroduc.pdf
aucmistry
 
HAP 417Watch the following 4 videos and then answer the 6 question.pdf
HAP 417Watch the following 4 videos and then answer the 6 question.pdfHAP 417Watch the following 4 videos and then answer the 6 question.pdf
HAP 417Watch the following 4 videos and then answer the 6 question.pdf
aucmistry
 
Give your take on each of the posts below. Do you agree or disagree .pdf
Give your take on each of the posts below. Do you agree or disagree .pdfGive your take on each of the posts below. Do you agree or disagree .pdf
Give your take on each of the posts below. Do you agree or disagree .pdf
aucmistry
 

More from aucmistry (20)

Consider the data for the mean number of days with precipitation more.pdf
 Consider the data for the mean number of days with precipitation more.pdf Consider the data for the mean number of days with precipitation more.pdf
Consider the data for the mean number of days with precipitation more.pdf
 
Consider the following documents Doc 1 pat sat on mat Doc 2 cat sa.pdf
 Consider the following documents Doc 1 pat sat on mat Doc 2 cat sa.pdf Consider the following documents Doc 1 pat sat on mat Doc 2 cat sa.pdf
Consider the following documents Doc 1 pat sat on mat Doc 2 cat sa.pdf
 
Consider the continuous random variable, Y, with moment generating fu.pdf
 Consider the continuous random variable, Y, with moment generating fu.pdf Consider the continuous random variable, Y, with moment generating fu.pdf
Consider the continuous random variable, Y, with moment generating fu.pdf
 
Consider the case in which query involves a single variable. Let X be.pdf
 Consider the case in which query involves a single variable. Let X be.pdf Consider the case in which query involves a single variable. Let X be.pdf
Consider the case in which query involves a single variable. Let X be.pdf
 
Haz un resumen del siguiente pasaje y dale un t�tulo adecuado. Has.pdf
Haz un resumen del siguiente pasaje y dale un t�tulo adecuado. Has.pdfHaz un resumen del siguiente pasaje y dale un t�tulo adecuado. Has.pdf
Haz un resumen del siguiente pasaje y dale un t�tulo adecuado. Has.pdf
 
Hay nueve filos principales descritos -Referencias - Mollusca, P.pdf
Hay nueve filos principales descritos -Referencias - Mollusca, P.pdfHay nueve filos principales descritos -Referencias - Mollusca, P.pdf
Hay nueve filos principales descritos -Referencias - Mollusca, P.pdf
 
Have you ever driven through a rural area and thought, There is not.pdf
Have you ever driven through a rural area and thought, There is not.pdfHave you ever driven through a rural area and thought, There is not.pdf
Have you ever driven through a rural area and thought, There is not.pdf
 
Harvey Inc. has a Current E&P balance of ($100,000) earned ratably t.pdf
Harvey Inc. has a Current E&P balance of ($100,000) earned ratably t.pdfHarvey Inc. has a Current E&P balance of ($100,000) earned ratably t.pdf
Harvey Inc. has a Current E&P balance of ($100,000) earned ratably t.pdf
 
Harris Corporation provides the following data on a proposed capital.pdf
Harris Corporation provides the following data on a proposed capital.pdfHarris Corporation provides the following data on a proposed capital.pdf
Harris Corporation provides the following data on a proposed capital.pdf
 
HAROUN COMPANY Comparative Year-End Balance Sheets December 31, 2021.pdf
HAROUN COMPANY Comparative Year-End Balance Sheets December 31, 2021.pdfHAROUN COMPANY Comparative Year-End Balance Sheets December 31, 2021.pdf
HAROUN COMPANY Comparative Year-End Balance Sheets December 31, 2021.pdf
 
HAPTER 9 - Other Income, Other Deductions and Other IssuesIntroduc.pdf
HAPTER 9 - Other Income, Other Deductions and Other IssuesIntroduc.pdfHAPTER 9 - Other Income, Other Deductions and Other IssuesIntroduc.pdf
HAPTER 9 - Other Income, Other Deductions and Other IssuesIntroduc.pdf
 
HAP 417Watch the following 4 videos and then answer the 6 question.pdf
HAP 417Watch the following 4 videos and then answer the 6 question.pdfHAP 417Watch the following 4 videos and then answer the 6 question.pdf
HAP 417Watch the following 4 videos and then answer the 6 question.pdf
 
Hannah hired Mark to renovate her kitchen. The work was completed on.pdf
Hannah hired Mark to renovate her kitchen. The work was completed on.pdfHannah hired Mark to renovate her kitchen. The work was completed on.pdf
Hannah hired Mark to renovate her kitchen. The work was completed on.pdf
 
Given that investment expenditure is not affected by national income.pdf
Given that investment expenditure is not affected by national income.pdfGiven that investment expenditure is not affected by national income.pdf
Given that investment expenditure is not affected by national income.pdf
 
Given that Z is a standard normal random variable, the probability t.pdf
Given that Z is a standard normal random variable, the probability t.pdfGiven that Z is a standard normal random variable, the probability t.pdf
Given that Z is a standard normal random variable, the probability t.pdf
 
Give your take on each of the posts below. Do you agree or disagree .pdf
Give your take on each of the posts below. Do you agree or disagree .pdfGive your take on each of the posts below. Do you agree or disagree .pdf
Give your take on each of the posts below. Do you agree or disagree .pdf
 
Give nondeterministic finite automata that accept each of the follow.pdf
Give nondeterministic finite automata that accept each of the follow.pdfGive nondeterministic finite automata that accept each of the follow.pdf
Give nondeterministic finite automata that accept each of the follow.pdf
 
Give a detailed example of an activity that can be performed in seve.pdf
Give a detailed example of an activity that can be performed in seve.pdfGive a detailed example of an activity that can be performed in seve.pdf
Give a detailed example of an activity that can be performed in seve.pdf
 
Give the introduction to legal issues of information system and gi.pdf
Give the introduction to legal issues of information system and gi.pdfGive the introduction to legal issues of information system and gi.pdf
Give the introduction to legal issues of information system and gi.pdf
 
Giorgio ha determinado que el 19 por ciento de las miles de fotos d.pdf
Giorgio ha determinado que el 19 por ciento de las miles de fotos d.pdfGiorgio ha determinado que el 19 por ciento de las miles de fotos d.pdf
Giorgio ha determinado que el 19 por ciento de las miles de fotos d.pdf
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 

Consider the following dataset with a single feature x, and corresp.pdf

  • 1. Consider the following "dataset" with a single feature x, and corresponding true label values y are shown in the table below [16] a) Plot the data of y against x in a scatterplot [2] b) Find the updated value of m and c up to the 2=nd iteration. [ Assume the avg line and its corresponding m and c as the first iteration value. Assume that the learning rate =0.01. Use MSE as your cost function here] [8] c) Find the final predicted value y hat for this dataset after 2nd iteration [3] d) Compute the RMSE between the final predicted values obtained in (b) and true label values, showing all work. [3]