Final practice lab - Log. regression - compute_cost()

I got the following error. Look like the tester expecting the cost instead of the total cost.

I just set lambda = 0, and all fine now

The cost calculated in this assignment is unregularized. So the “lambda” parameter should not be used - it says so here in the comments:

And in the instructions, the cost equation does not include any regularization:

@TMosh Can you edit the tester so that it uses lambda_ = 0. I faced the exact problem and spend hours debugging it. It’s very easy bug to miss.

We’ve already recommended to the course staff that the use of lambda in this function is confusing.