{mentor edit: code removed}
File “”, line 31
theta = theta - (alpha / m) * np.dot(x.T,(h - y))
^
SyntaxError: invalid syntax
I’m not sure what’s causing this error for me since the indentation is fine and I believe I inserted the formula the correct way. I am new to this, so I’m not sure what is wrong.