Typo on page 419 #212
baifanhorst
started this conversation in
General
Replies: 1 comment
-
|
Thanks for suggesting. I agree that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The 4th and the 5th lines of the codes, counting from bottom, are
plt.plot(x[y==0, 0], x[y==0, 1], 'o', alpha=0.75, markersize=10)
plt.plot(x[y==1, 0], x[y==1, 1], '<', alpha=0.75, markersize=10)
However, the resulting figure is a scatter plot. Therefore, the above 'plot' function should be replaced by scatter.
Beta Was this translation helpful? Give feedback.
All reactions