I’m getting “Wrong value. Expected 90, got 4.5. Check the term without the regularization” error. pls help
Your answer is exactly a factor of 20 too large.
Does the value “20” fit into the assignment somehow?
No i don’t think so. Why else would that error occur?
My mistake, your answer is 1/20 of the expected value. So it’s as though it was divided by 20.
The unit test that is throwing the error has 4 users and 5 movies. Those can combine to 20.
If your code uses nested for-loops, maybe you’re dividing something too many times.
1 Like