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

Chapter 2: the variable name "occurrences" can be misleading #392

Open edoven opened 6 years ago

edoven commented 6 years ago

Disclaimer: this is a very small issue.

Since the variable "occurrences" (in chapter 2) represents a collection of binary conversions (buy vs not buy), why not calling it something like "conversions"? I know that, before creating the variable, there is a reference to "the probability of an event occurring in a single trial" (in the context of explaining the Bernoulli distribution), but I had to think about it before realizing the connection between the variable name and the concept.