CamDavidsonPilon / Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/
MIT License
26.67k stars 7.86k forks source link

Fix off by one error in Chapter 1 PyMC3, #338 #353

Closed melentye closed 6 years ago

melentye commented 6 years ago

338 mentioned two problems: one with prior for tau (seems to be fixed by @taylorterry3 already) and an off-by-one in the lambda_ definition. This is the one-liner change to fix the second problem.

CamDavidsonPilon commented 6 years ago

lgtm, thanks!