Skip to content

Commit

Permalink
Testing PR continuous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
vsyrgkanis committed Jul 20, 2024
1 parent ae0e802 commit bccceb4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-and-transform-R-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git pull
git add ${{ matrix.directory }}/*.irnb ${{ matrix.directory }}/*.Rmd
git commit -m 'Strip outputs from .irnb, convert to .Rmd, lint .Rmd files, and execute .R files in ${{ matrix.directory }}'
git push
git commit -m 'Strip outputs from .irnb, convert to .Rmd, lint .Rmd files, and execute .R files in ${{ matrix.directory }} [skip ci]'
git push --force-with-lease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/python-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git pull
git add ${{ matrix.directory }}/*.ipynb
git commit -m 'Strip outputs from .ipynb files in ${{ matrix.directory }}'
git push
git commit -m 'Strip outputs from .ipynb files in ${{ matrix.directory }} [skip ci]'
git push --force-with-lease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 19 additions & 3 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": null,
"execution_count": 3,
"metadata": {
"id": "YTaOmenI7TfT"
},
Expand All @@ -44,7 +44,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"metadata": {
"id": "C57WYtYM7OL0",
"papermill": {
Expand All @@ -56,7 +56,23 @@
},
"tags": []
},
"outputs": [],
"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"
]
}
],
"source": [
"regression_stats(1000, 1000)\n",
"regression_stats(1000, 500)\n",
Expand Down

0 comments on commit bccceb4

Please sign in to comment.