From c99e311e16f144e544d18dfe45a3cb60114aa1aa Mon Sep 17 00:00:00 2001 From: vsyrgkanis Date: Mon, 22 Jul 2024 00:21:54 -0700 Subject: [PATCH] testing strip --- .github/workflows/strip-python-notebooks.yml | 2 +- PM1/python-linear-model-overfitting.ipynb | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/strip-python-notebooks.yml b/.github/workflows/strip-python-notebooks.yml index 2f4dd949..59bb9062 100644 --- a/.github/workflows/strip-python-notebooks.yml +++ b/.github/workflows/strip-python-notebooks.yml @@ -31,7 +31,7 @@ jobs: - name: Set up R uses: r-lib/actions/setup-r@v2 - - name: Install rmarkdown, knitr, and lintr packages + - name: Install rmarkdown package run: | R -e 'install.packages(c("rmarkdown"), repos="https://cloud.r-project.org")' diff --git a/PM1/python-linear-model-overfitting.ipynb b/PM1/python-linear-model-overfitting.ipynb index c337e415..7ffe1ff9 100644 --- a/PM1/python-linear-model-overfitting.ipynb +++ b/PM1/python-linear-model-overfitting.ipynb @@ -21,7 +21,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 9, "metadata": { "id": "YTaOmenI7TfT" }, @@ -44,7 +44,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": { "id": "C57WYtYM7OL0", "papermill": { @@ -61,15 +61,7 @@ "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" + "p/n is: 1.0\n" ] } ],