File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1313 " import seaborn as sns\n " ,
1414 " import numpy as np\n " ,
1515 " from utils import ECDF\n " ,
16+ " import arviz as az\n " ,
1617 " \n " ,
1718 " %load_ext autoreload\n " ,
1819 " %autoreload 2\n " ,
161162 "metadata" : {},
162163 "outputs" : [],
163164 "source" : [
164- " traces = pm.traceplot (trace)"
165+ " traces = az.plot_trace (trace)"
165166 ]
166167 },
167168 {
177178 "metadata" : {},
178179 "outputs" : [],
179180 "source" : [
180- " pm.forestplot (trace, varnames =['mean'])"
181+ " az.plot_forest (trace, var_names =['mean'])"
181182 ]
182183 },
183184 {
294295 ],
295296 "metadata" : {
296297 "kernelspec" : {
297- "display_name" : " bayesian-modelling-tutorial " ,
298+ "display_name" : " Python 3 " ,
298299 "language" : " python" ,
299- "name" : " bayesian-modelling-tutorial "
300+ "name" : " python3 "
300301 },
301302 "language_info" : {
302303 "codemirror_mode" : {
308309 "name" : " python" ,
309310 "nbconvert_exporter" : " python" ,
310311 "pygments_lexer" : " ipython3" ,
311- "version" : " 3.6.6 "
312+ "version" : " 3.6.8 "
312313 }
313314 },
314315 "nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments