I am getting issue with on exercise 6
{moderator edit - solution code removed}
It is running correctly on local example but test is failing i don’t know what i am doing wrong. propagate function test is correctly passed.
I am getting issue with on exercise 6
{moderator edit - solution code removed}
It is running correctly on local example but test is failing i don’t know what i am doing wrong. propagate function test is correctly passed.
optimize with num_iterations 100 learning_rate 0.009
w = [[0.80956046]
[2.0508202 ]]
b = 1.5948713189708588
dw = [[ 0.17860505]
[-0.04840656]]
db = -0.08888460336847771
Costs = [array(0.15900538)]
optimize with num_iterations 101 learning_rate 0.1
All tests passed!
Above are my outputs from that same test cell. Notice that your cost value is correct for the visible test, but all your other values do not agree with mine. That’s because the cost is at 0 iterations, before the error in your “update” logic has any effect. Please take another careful look at your code for updating b. That’s not what the math formula says, right?
AH!!
I got the issue. That for pointing to it.