Skip to content

Commit

Permalink
try another working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
fehiepsi committed Feb 15, 2024
1 parent e8a7736 commit 2dde1c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
on: [push]

defaults:
run:
working-directory: ./site

jobs:
nikola_build:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@
"source": [
"# call predictive without specifying new data\n",
"# so it uses original data\n",
"post = m5_3.sample_posterior(random.PRNGKey(1), p5_3, (int(1e4),))\n",
"post = m5_3.sample_posterior(random.PRNGKey(1), p5_3, sample_shape=(int(1e4),))\n",
"post.pop(\"mu\")\n",
"post_pred = Predictive(m5_3.model, post)(random.PRNGKey(2), M=d.M.values, A=d.A.values)\n",
"mu = post_pred[\"mu\"]\n",
Expand Down

0 comments on commit 2dde1c0

Please sign in to comment.