Chans

Untitled

Jan 14th, 2018
2,386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. # Visualizing the Test set results
  2. plt.figure()
  3. plt.scatter(X_test, y_test, color='red')
  4. plt.plot(X_train, regressor.predict(X_train), color='blue')
  5. plt.title('Salary vs Experience (Test set)')
  6. plt.xlabel('Years of Experience')
  7. plt.ylabel('Salary')
  8. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment