Question: You are given the following data on house size (in square fest) and their corresponding prices in $1000: House size x Price y 1200 250
You are given the following data on house size (in square fest) and their corresponding prices in $1000: House size x Price y 1200 250 1500 300 1800 350 You want to fit a linear regression model of the form: h(x) = 0, + 0ja: To predict house prices based on the size of the house. The goal is to minimize the cost function: 1(0, 6.) = 2m. Usc one iteration gradient descent to calculate 0o.0,- Note: a) Initialize 0o = 0, = 0. b) learning rate is cqual to 0.01
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
