diff --git a/Part 2 - Regression/1. Simple Linear Regression/simple_lnear_regression.py b/Part 2 - Regression/1. Simple Linear Regression/simple_lnear_regression.py index 92a920a..e7940a8 100644 --- a/Part 2 - Regression/1. Simple Linear Regression/simple_lnear_regression.py +++ b/Part 2 - Regression/1. Simple Linear Regression/simple_lnear_regression.py @@ -36,8 +36,8 @@ plt.xlabel('Salary') plt.show() plt.scatter(X_test,Y_test,color ='red') -plt.plot(X_train,regressor.predict(X_train),color='blue') +plt.plot(X_test,regressor.predict(X_test),color='blue') plt.title('SALARY VS EXPERIENCE(Test Set)') plt.xlabel('Years of Experience') plt.xlabel('Salary') -plt.show() \ No newline at end of file +plt.show()