Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Visualizing the Training set results
- plt.figure()
- plt.scatter(X_train, y_train, color='red')
- plt.plot(X_train, regressor.predict(X_train), color='blue')
- plt.title('Years of Experience (Training set)')
- plt.xlabel('Years of Experience')
- plt.ylabel('Salary')
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment