C2_W3 lab 1 regression with perceptron - getting errors in last 2 cells of notebook

Note that you can do the “Get Latest Version” procedure documented here. I just did that and the only change in the last month or so was to upgrade to a new version of python, but it still works fine, as shown above.

My guess is that you have damaged the notebook somehow. Try getting a clean copy and I’ll bet the problem goes away.

2 Likes