Advertisement
lessientelrunya

plot

Jun 28th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. plt.figure() # Define a new figure
  2. plt.scatter(X_train[:,0], X_train[:,1], s = 170, color = Y_train[:]) # Plot points with Python slicing syntax
  3. plt.show() # Display plot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement