I have a chain saved using the Text backend:
db = pm.backends.Text('save1') trace = pm.sample(3000,step=step,start=start,trace=db)
I used this to load it within the context of my model:
with pm.Model() as model: test=pm.backends.text.load('save1')
and it worked, since
test is recognized as variable :
<MultiTrace: 1 chains, 3500 iterations, 0 variables> (not sure why it says 0 variables, since they are listed in the .csv file, but anyway).
Nevertheless, when I do this:
pm.summary(test), nothing happens.
And when I try this:
pm.traceplot(test), I get
IndexError: index out of range in
gridspec.py, a matplotlib function.
Any idea on how to get the summary and traceplot from there?