Closed
Description
In traces with negative autocorrelation pymc3 sometimes returns negative estimates for the number of effective samples:
import pymc3
class DummyTrace:
varnames = ['a']
nchains = 2
def get_values(self, *args, **kwargs):
return [[0, 1, 0, 1], [0, 1, 0, 1]]
pymc3.effective_n(DummyTrace())
This returns {'a': -8.0}
Metadata
Metadata
Assignees
Labels
No labels