From d15cca238485627642b4df434c68db296fe348e2 Mon Sep 17 00:00:00 2001 From: Aryan Wadhawan <53692529+aryanxxvii@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:40:15 +0530 Subject: [PATCH] Update simple_lnear_regression.py --- .../1. Simple Linear Regression/simple_lnear_regression.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()