Problem with compute_cost test

I have been getting this message when i run the test, I am not sure what is wrong, I have made sure to check all hints and it hasn’t changed.
I know we are not allowed to post our code so i haven’t.

There is an error in your code, it isn’t computing the cost value correctly.

You can try adding some print() statements inside your code so you can compare the intermediate results vs. your own hand-calculations of the correct values.

1 Like