Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Chapter_03_Linear_Regression/Coding_linear_regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
Expand Down