Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We consider the following data set concerning House pricing. The table presents the values of two features (Area and Number of rooms) and the house
We consider the following data set concerning House pricing. The table presents the values of two features (Area and Number of rooms) and the house price. 1- One variable Linear Regression We consider only the Area feature for estimating the price of house. We suggest to use a Linear Regression model the relationship between the Area (x) - House price (y).(y=wx+b) a) Compute w and b the parameters of the Linear regression b) Compute the obtained cost function J(w,b)=i=1m(yiy^i)2 c) Compute the corresponding R2 d) For computing the values of w,b, we suggest using the Gradient Descent, with a learning rate =0.1. Compute the update of the parameters for three iterations of the GD
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started