Course 2 Week 2 exercise 8

hello sir
I checked my code, I think its right, but the result is not, please help me

[Image removed for Honor Code]

1 Like

Hi @kris

I think you are not doing the floor operation as instructed here:

You should use the floor of the fraction \frac{epochNum}{timeInterval}. Check numpy.floor for reference.

Note: I removed part of your post for the Honor Code.

1 Like