C3_W2_Collaborative_RecSys_Assignment indentation error

hi, after computing confi_cost_func while running it after adding regularisation term. i am getting indent error. i have tried resetting it to the last checkpoint but it is still not working. any help is appreciated

{mentor edit: code removed}

It’s not an indentation error. It’s a syntax error.

In the J += ... line, count up your pairs of parenthesis. You’ll find a mismatch.

Also, please don’t share your code on the forum. That’s not allowed by the Code of Conduct.

1 Like