mfumagalli/ImaGene

pymc3.stats.hpd outdated

Closed this issue · 3 comments

pymc3.stats.hpd is no longer supported and instead az.hdi may be used from the ArviZ package (v0.12).

thanks; can you provide the exact replacement of the line using pymc3.stats.hpd or push a request?

I cannot access the repository when pushing.

Here is the replacement (on line 114 of ImaGene.y):
HPD = az.hdi(samples_distr, credible_interval = 0.95)

updated