We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e7bf8 commit da836ddCopy full SHA for da836dd
1 file changed
test/test_variational.py
@@ -242,7 +242,11 @@ def test_exe_only(self):
242
243
bern2_model = CmdStanModel(exe_file=exe_only)
244
jdata = os.path.join(DATAFILES_PATH, 'bernoulli.data.json')
245
- variational = bern2_model.variational(data=jdata, algorithm='meanfield')
+ variational = bern2_model.variational(
246
+ data=jdata,
247
+ require_converged=False,
248
+ seed=12345,
249
+ algorithm='meanfield')
250
self.assertEqual(variational.variational_sample.shape, (1000, 4))
251
252
0 commit comments