C3_W2_Collaborative_RecSys_Assignment Excercise 1

Hi, I got stuck on Exercise 1. Where it says: –
AssertionError Traceback (most recent call last)
1 # Public tests
2 from public_tests import *
----> 3 test_cofi_cost_func(cofi_cost_func)

~/work/public_tests.py in test_cofi_cost_func(target)
14 J = target(X_r, W_r, b_r, Y_r, R_r, 2);
15 assert not np.isclose(J, 13.5), f"Wrong value. Got {J}. Did you multiply the regularization term by lambda_?"
—> 16 assert np.isclose(J, 27), f"Wrong value. Expected {27}, got {J}. Check the regularization term"

AssertionError: Wrong value. Expected 27, but got 270.0. Check the regularization term
Can someone help me out on this question please?

This means that your cofi_cost_func() does not return the correct values for that specific test.