Question: solve w and b using python expected outcome: 1.5 points Implement the function that returns parameter w and b with zero values. The dimension of

solve w and b using python

solve w and b using python expected outcome: 1.5 points Implement the

expected outcome:

function that returns parameter w and b with zero values. The dimension

1.5 points Implement the function that returns parameter w and b with zero values. The dimension of w is given by the argument dim, i.e., it should be a im vector. Note that in numpy the dimension of w should be (dim, 1), but not (dim,). Hint: use np.zeros to initialize w. \#\#\#\# DO NOT CHANGE THE CODE BELOW \#\#\#\# \# Evaluate Task 2 dim=3 w,b= init_zeros (dim) print ('w ={} ' . format(w)) print('b ={}format(b)) Expected output w=[[0.] [0.] [0.]] b=0.0

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