I am getting this syntax error when trying to run gradient_check_n. I used the same steps to compute J_plus[i], which seems to be working fine. So I am not sure what the problem could be.
Fixed by @TheLonelyChemE.
Just a problem of unbalanced parentheses.
Good luck with the rest of the assignment
Hi, I am facing the same issue ( J_plus[i] is fine), and I have tried rewriting and debugging on my own, now I am exhausted, please help…
I got it, I had parenthesis missing (but not in this line)