Hello,
I am working through week 2’s lab 1, and I have encountered an error with the lab code (not mine, it seems). When I try running “J = cofi_cost_func(X_r, W_r, b_r, Y_r, R_r, 1.5)”, the resulting J is the same as the J without the regularisation term. Thus when “running test_cofi_cost_func(cofi_cost_func)”, I get an error back. I’ve attached a screenshot of what’s happening (it does not include the code I wrote––only the lab code). Is there a way to fix this?
Thanks for helping!!