Skip to content

Commit

Permalink
Strip outputs from .ipynb files in PM1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 20, 2024
1 parent 433f75c commit ae0e802
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions PM1/python-linear-model-overfitting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"id": "YTaOmenI7TfT"
},
Expand All @@ -44,7 +44,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {
"id": "C57WYtYM7OL0",
"papermill": {
Expand All @@ -56,23 +56,7 @@
},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"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"
]
}
],
"outputs": [],
"source": [
"regression_stats(1000, 1000)\n",
"regression_stats(1000, 500)\n",
Expand Down

0 comments on commit ae0e802

Please sign in to comment.