Cell #17. Can't compile the student's code. Error: TypeError('compute_gradient() takes 4 positional arguments but 5 were given')

Always the same error:
Cell #17. Can’t compile the student’s code. Error: TypeError(‘compute_gradient() takes 4 positional arguments but 5 were given’)

And i just take off the *arg in the def compute_gradient(X, y, w, b,) but then the final the same error. I cant pass, always 0%

Do not remove the *arg parameter.
Don’t modify the function definitions.

1 Like