Question: 1 . [ Sec 1 1 . 3 ] Given a set of n data points ( xi , yi ) , a line of
Sec Given a set of n data points xi yi a line of best fit can be used to predict the output for additional input values. x y The gradient descent algorithm can be used to find the optimal line y wx b The algorithm minimizes a cost function Jw b which measures the distance between the n points and a line y wx b Here we apply the mean squared error formula: Jw b n Xn iyi wxi b The optimal coefficients w and b can be found by minimizing Jw b Find Jw and Jb
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
