I am stuck on week 2 exercise 4.2 - Initializing parameters
Instructions say to use np.zeros and to set the dimensions and it says to initialize b to zero. I dont know what the assertion error is referring to.
I am stuck on week 2 exercise 4.2 - Initializing parameters
Instructions say to use np.zeros and to set the dimensions and it says to initialize b to zero. I dont know what the assertion error is referring to.
Hi @tpatrick , welcome to the Discourse community!
The assertion error refers to the value of b. You have initialized it as 0, which means it is not of type float. Hence the assertion error as b needs to be of type float.
I had to go back and look at what the difference was for what a float was. Thank you so much.
Good to hear you managed to solve it!