Hello, have some problems with course 2 week 1 last assignment, corrected the errors dW2 and db1, but got an assertion error of 0.7283735199673291 which is huge. I implemented everything like it was asked in assignment, didn’t have any problems with any labs before, if someone could check my notebook and at least point me in where I should look to fix it will be very grateful. Thank you!
Please click my name and message your notebook as an attachment.
thetas
are weights. You want to change them a bit and see how the cost changes.
When calculating gradapprox
, using theta_plus
and theta_minus
is incorrect. Use the costs associated with changed thetas since that gives the change in cost we’re looking for. Consider reading the markdown cell for the exercise.
Thank you, tired mistake from my part, fixed the issue!