pymc-devs / pymc4

(Deprecated) Experimental PyMC interface for TensorFlow Probability. Official work on this project has been discontinued.
Apache License 2.0
711 stars 113 forks source link

Add log likelihood to arviz trace objects #292

Closed kyleabeauchamp closed 4 years ago

kyleabeauchamp commented 4 years ago

I tried to run the loo function from arviz and got an exception because that part of the model was not annotated in the trace:

data_loo = az.loo(tr, pointwise=True)

TypeError: log likelihood not found in inference data object