Advertisement
lessientelrunya

plot2

Jun 28th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. X_test = np.array([3,4])
  2. plt.figure() # Define a new figure
  3. plt.scatter(X_train[:,0], X_train[:,1], s = 170, color = Y_train[:])
  4. plt.scatter(X_test[0], X_test[1], s = 170, color = 'green')
  5. plt.show() # Display plot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement