Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed section 2.3, exercise 7 #54

Merged
merged 2 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion content/02-linear-reg/extension-limitation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@
"boston_df[\"resid1\"] = boston_df.crim - boston_df.pred1\n",
"\n",
"\n",
"boston_df[\"ptratio2\"] = boston_df.nox**3\n",
"boston_df[\"ptratio2\"] = boston_df.ptratio**2\n",
"# Quadratic fit\n",
"X2 = boston_df[[\"ptratio\", \"ptratio2\"]].values\n",
"regr.fit(X2, y)\n",
Expand Down
2 changes: 1 addition & 1 deletion content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Besides the prerequisites, the 10 chapters can be grouped into two parts: part o
<table>
<tbody>
<tr>
<td align="center"><a href="https://haipinglu.github.io/"><img src="https://raw.githubusercontent.com/haipinglu/hugo-academic/main/content/authors/haiping-lu/avatar.png" width="200px;" alt="Haiping Lu"/><br /><sub><b>Haiping Lu</b></sub></a></td>
<td align="center"><a href="https://haipinglu.github.io/"><img src="https://raw.githubusercontent.com/haipinglu/hugo-academic/main/content/authors/haiping-lu/avatar.jpg" width="200px;" alt="Haiping Lu"/><br /><sub><b>Haiping Lu</b></sub></a></td>
<td align="center"><a href="https://shuo-zhou.github.io/"><img src="https://raw.githubusercontent.com/shuo-zhou/shuo-zhou.github.io/master/assets/img/profile.png" width="200px;" alt="Shuo Zhou"/><br /><sub><b>Shuo Zhou</b></sub></a></td>
</tr>
</tbody>
Expand Down
Loading