While ececution of this line pm.dic(linear_trace,model=model)
i am getting this error AttributeError: module 'pymc3' has no attribute 'dic'
pymc3 version : 3.9.3
While ececution of this line pm.dic(linear_trace,model=model)
i am getting this error AttributeError: module 'pymc3' has no attribute 'dic'
pymc3 version : 3.9.3
DIC has been removed due to its limitations within the Bayesian framework as described https://link.springer.com/content/pdf/10.1007/s11222-013-9416-2.pdf.
I’d suggest you use az.loo
or az.waic
instead. They can also be called as pm.loo/waic
which are aliases to the ArviZ functions mentioned previously.