diff --git a/Chapter_03_Linear_Regression/Coding_linear_regression.ipynb b/Chapter_03_Linear_Regression/Coding_linear_regression.ipynb index 352f3ae..14a7934 100644 --- a/Chapter_03_Linear_Regression/Coding_linear_regression.ipynb +++ b/Chapter_03_Linear_Regression/Coding_linear_regression.ipynb @@ -108,8 +108,8 @@ " price_per_room -= small_random_1\n", " base_price -= small_random_2\n", " if price < predicted_price and num_rooms < 0:\n", - " price_per_room -= small_random_1\n", - " base_price += small_random_2\n", + " price_per_room += small_random_1\n", + " base_price -= small_random_2\n", " return price_per_room, base_price" ] },