...

/

Probability Distribution Monad with Round Numbers

Probability Distribution Monad with Round Numbers

In this lesson, we will learn an example of probability distribution monads by using rounded numbers.

We'll cover the following...

In the previous lesson, we made a correct, efficient implementation of SelectMany to bind a likelihood function and projection onto a prior, and gave a simple example.


Example with Rounded Numbers

We deliberately chose “weird” numbers for all the weights; let’s do that same example again ...