Question: solve using python Expected output: w = [[ 0.57327302] [-0.8933432 ]] b = 0.05089921193049401 lask 4. Implement gradient descent. 2 points In GD function, call

solve using python

solve using python Expected output: w = [[ 0.57327302] [-0.8933432 ]] b

= 0.05089921193049401 lask 4. Implement gradient descent. 2 points In GD function,

call function for times. Within each iterationl, parameters w and b are

Expected output:

w = [[ 0.57327302] [-0.8933432 ]] b = 0.05089921193049401

lask 4. Implement gradient descent. 2 points In GD function, call function for times. Within each iterationl, parameters w and b are updated. The final parameters and a list of cost values are returned. Hint: parameters are updated by w=wdw and b=bdb \#\#\#\# DO NOT CHANGE THE CODE BELOW \#\#\#\# \# Evaluate Task 4 params, costs = GD (X,Y,W,b, num_iters=1000, alpha=0.01) print('w ={}. format (params[' ])) print('b ={} '.format (params['b']))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To implement gradient descent in Python well follow these steps to complete the missing parts of the ... View full answer

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 Databases Questions!