diff --git a/02-Discrete-Bayes.ipynb b/02-Discrete-Bayes.ipynb index e0f5877..e44beb9 100644 --- a/02-Discrete-Bayes.ipynb +++ b/02-Discrete-Bayes.ipynb @@ -392,7 +392,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "We call this a multimodal distribution because we have multiple beliefs about the position of our dog. Of course we are not saying that we think he is simultaneously in three different locations, merely that so far we have narrowed down our knowledge in his position to be one of these three locations. My (Bayesian) belief is that there is a 33.3% chance of being at door 0, 33.3% at door 1, and a 33.3% chance of being at door 8. \n", + "This distribution is called a **categorical distribution**, which is the term used to describe a discrete distribution describing the probability of observing $n$ outcomes. It is a **multimodal distribution** because we have multiple beliefs about the position of our dog. Of course we are not saying that we think he is simultaneously in three different locations, merely that so far we have narrowed down our knowledge in his position to be one of these three locations. My (Bayesian) belief is that there is a 33.3% chance of being at door 0, 33.3% at door 1, and a 33.3% chance of being at door 8. More specifically, \n", "\n", "I hand coded the `belief` array in the code above. How would we implement this in code? Well, hallway represents each door as a 1, and wall as 0, so we will multiply the hallway variable by the percentage, like so;" ]