Skip to content

Commit 324d9e3

Browse files
committed
changes per code review
1 parent 26f38ca commit 324d9e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docsrc/examples/VI as Sampler Inits.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"### Run Stan's variational inference algorithm, obtain fitted estimates\n",
7979
"\n",
8080
"The `CmdStanModel` method `variational` runs CmdStan's ADVI algorithm.\n",
81-
"Conditioning the model on the data results in a posterior geometry which is difficult to navigate. Because the ADVI algorithm may fail to converge, we run it with argument `require_converged` set to `False`."
81+
"Conditioning the model on the data results in a posterior geometry which is difficult to navigate. Because the ADVI algorithm is unstable and may fail to converge, we run it with argument `require_converged` set to `False`. We also specify a seed, to avoid instabilities as well as for reproducibility."
8282
]
8383
},
8484
{
@@ -156,7 +156,7 @@
156156
"- beta[2]: 0.059\n",
157157
"- sigma: 0.894\n",
158158
"\n",
159-
"To see how this is useful, we run the sampler with default initializations, step size, and warmup, (same random seed)."
159+
"To see how this is useful, we run the sampler with default initializations, step size, and warmup."
160160
]
161161
},
162162
{

0 commit comments

Comments
 (0)