-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error #7
Comments
Hi @Mayssa-1195, what version of Python are you using? What is the error? |
I am using Python version 3.8.3. This is the error: File "gradient_descent_example.py", line 39 |
Some of the code doesn't work in Python 3. If you change the
That may be enough to get things working. |
@mattnedrich Okay Thank you ! I will try it |
Hello,
I am trying to run this python code but I am receiving an error in the following line of code
print "Starting gradient descent at b = {0}, m = {1}, error = {2}".format(initial_b, initial_m, compute_error_for_line_given_points(initial_b, initial_m, points))
The text was updated successfully, but these errors were encountered: