Week 1, coding assignment (eval function problem)

Hello Jerry,

You are using incorrect function kindly use K.log and K.mean rather than numpy function.

Also recall the loss function in a single code line using reference of the image below

Remember the mean is not applied separately for pos and neg weights but as a whole (refer the equation image highlighted to write your code correctly.

Regards
DP