Skip to content

Commit

Permalink
Merge pull request #54 from pykale/refine
Browse files Browse the repository at this point in the history
Fixed section 2.3, exercise 7
  • Loading branch information
shuo-zhou committed Feb 6, 2024
2 parents dbce912 + b6d86c9 commit 618a431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 618a431

Please sign in to comment.