I’m having an issue with LabID rmncykyncapl.
I’m getting the two expected outputs from # Evaluate cost function and # Evaluate cost function with regularization - 13.67 and 28.09 respectively.
However, when I run the test I get AssertionError: Wrong value. Expected 90, got 18.0. Check the term without the regularization.
This doesn’t make much sense to me … would you please help?
In general, community members and mentors do not have access to your workspace. Also, there are 3 weeks of the course content and lab assignments, it would be helpful if you could highlight which week and which exercise, together with errors trace to help diagnose what the problem might be.
Passing the unit test does not guarantee your code is correct. The grader uses different set of testdata to test your code.
Check you code against the pseudo code by clicking the Hints to make sure the logic is correct. If there is still problem, please post the error trace to help with diagnosis