Question: 1 . [ Sec 1 1 . 3 ] Given a set of n data points ( xi , yi ) , a line of

1.[Sec 11.3] 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 J(w, b) which measures the distance between the n points and a line y = wx + b. Here we apply the mean squared error formula: J(w, b)=1 n Xn i=1(yi (wxi + b))2. The optimal coefficients w and b can be found by minimizing J(w, b). Find J/w and J/b.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!