Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconciling expert opinions example #3413

Merged
merged 5 commits into from
Dec 31, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed reconciling experts smoke test.
BenZickel committed Dec 31, 2024
commit 8c4cd84950dfeb77eda981148dc19fe3e1ef6f0d
8 changes: 4 additions & 4 deletions tutorial/source/reconciling_experts.ipynb
Original file line number Diff line number Diff line change
@@ -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"
]
},
{
@@ -243,7 +243,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x24445b0f8f0>"
"<graphviz.graphs.Digraph at 0x2417c3f7a10>"
]
},
"execution_count": 6,
@@ -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()"