Skip to content

Commit

Permalink
Fixed reconciling experts smoke test.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenZickel committed Dec 31, 2024
1 parent 200fd36 commit 8c4cd84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tutorial/source/reconciling_experts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"from matplotlib import pyplot as plt\n",
"\n",
"smoke_test = ('CI' in os.environ) # for use in continuous integration testing\n",
"num_samples = 2 if smoke_test else 1000\n",
"num_svi_iter = 2 if smoke_test else 1001"
"num_samples = 4 if smoke_test else 1000\n",
"num_svi_iter = 4 if smoke_test else 1001"
]
},
{
Expand Down Expand Up @@ -243,7 +243,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x24445b0f8f0>"
"<graphviz.graphs.Digraph at 0x2417c3f7a10>"
]
},
"execution_count": 6,
Expand Down Expand Up @@ -622,7 +622,7 @@
],
"source": [
"plt.figure()\n",
"for i in range(1000):\n",
"for i in range(new_samples.shape[0]):\n",
" plt.plot(new_samples[i, ..., 0].detach().numpy(), alpha=0.05, color='blue')\n",
" plt.plot(new_samples[i, ..., 1].detach().numpy(), alpha=0.05, color='orange')\n",
"plt.grid()"
Expand Down

0 comments on commit 8c4cd84

Please sign in to comment.