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
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@
}
],
"source": [
"import pandas as pd\n",
"file_path = 'Hyderabad.csv'\n",
"data = pd.read_csv(file_path)\n",
"data.head()"
Expand Down Expand Up @@ -365,7 +364,7 @@
"source": [
"# Predict prices for a range of Area values to plot the regression line\n",
"area_range = np.linspace(X.min(), X.max(), 100).reshape(-1, 1)\n",
"predicted_prices = model.predict(area_range)\n",
"predicted_prices = simple_model.predict(area_range)\n",
"\n",
"# Plot the original data points\n",
"plt.scatter(X, y, color='blue', label='Data Points')\n",
Expand Down