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.55k stars 7.85k forks source link

removed an uneccessary for loop #388

Closed jb-- closed 6 years ago

jb-- commented 6 years ago

Instead of relying on an inline for loop for gathering a list of random samples from a distribution, one should use the size keyword accordingly.

CamDavidsonPilon commented 6 years ago

nice, thanks @jb--