W2_A2_Ex-8_Wrong values for d[‘costs’] & plot does not appear

All my previous tests are passed. And the next cell containing training seems fine on 70% test accuracy and almost 100% train accuracy.

However, the cost in GRADED FUNCTION MODEL is off. Cant seem to find why.
AssertionError: Wrong values for d[‘costs’]. [array(0.15900538)] != [array(0.69314718)]

Looking at the training (the next cell) this is the cost of the first iteration:
Cost after iteration 0: 0.693147

Cost after iteration 1900: 0.140872
train accuracy: 99.04306220095694 test accuracy: 70.0

Also the plot is white for some reason… any thoughts?

Hello @Arne_Odin_Sundet,

Check this or this out and see if these are your case?

Cheers,
Raymond

thanks, did mispell cost to costs…
How did you search the forum?

Hello @Arne_Odin_Sundet,

I searched “0.15900538” :wink:

Cheers,
Raymond