Week 2 Programming Assignment - Exercise 5 Assertion Error

Also note that it looks like you modified one of the lines in the template code:

db = np.squeeze(np.array(cost))

That’s not what that line originally looked like and there was no reason to modify it. If you’d like to get a clean copy of the notebook to see how it originally looked, there is a topic about that on the FAQ Thread.

1 Like