From 93f45aec465de043014792ad668cf88eaf4c76ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Cea?= Date: Tue, 12 Oct 2021 17:31:38 -0300 Subject: [PATCH] solve seed issue Still obtaining error ```{python} /usr/local/lib/python3.7/dist-packages/pymc3/backends/report.py in _run_convergence_checks(self, idata, model) 139 140 warnings = [] --> 141 rhat_max = max(val.max() for val in rhat.values()) 142 if rhat_max > 1.4: 143 msg = ( ValueError: max() arg is an empty sequence ``` --- jupyter/Example_risk_analysis_notebook_scenario_a.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jupyter/Example_risk_analysis_notebook_scenario_a.ipynb b/jupyter/Example_risk_analysis_notebook_scenario_a.ipynb index 0b52ccc..bfe2bc5 100644 --- a/jupyter/Example_risk_analysis_notebook_scenario_a.ipynb +++ b/jupyter/Example_risk_analysis_notebook_scenario_a.ipynb @@ -319,7 +319,7 @@ "cell_type": "code", "source": [ "with model:\n", - " trace = mc.sample(seed=seed)" + " trace = mc.sample(random_seed=seed)" ], "execution_count": 9, "outputs": [ @@ -391,4 +391,4 @@ ] } ] -} \ No newline at end of file +}