Facing error in updating theta


Can anyone tell me what’s wrong with my code? Why it is not working?

The syntax error is in the line above where theta is getting updated where Cost J is being calculated. Possibly the errors of missing parenthesis in that line.

1 Like

Thank you so much @skp