Skip to content

Commit

Permalink
Update python-linear-model-overfitting.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
vsyrgkanis committed Jul 22, 2024
1 parent ab55be2 commit 15a85e3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions PM1/python-linear-model-overfitting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 10,
"metadata": {
"id": "C57WYtYM7OL0",
"papermill": {
Expand All @@ -61,7 +61,15 @@
"name": "stdout",
"output_type": "stream",
"text": [
"p/n is: 1.0\n"
"p/n is: 1.0\n",
"R^2 is 1.0\n",
"Adjusted R^2 is nan\n",
"p/n is: 0.5\n",
"R^2 is 0.5232392347513539\n",
"Adjusted R^2 is 0.04647846950270784\n",
"p/n is: 0.05\n",
"R^2 is 0.05610356497156044\n",
"Adjusted R^2 is 0.006424805233221531\n"
]
}
],
Expand Down

0 comments on commit 15a85e3

Please sign in to comment.