Fixing Random, part 13

added by DotNetKicks
3/18/2019 12:31:16 PM

2 Kicks, 416 Views

Last time on FAIC we discovered the interesting fact that conditional probabilities can be represented as likelihood functions, and that applying a conditional probability to a prior probability looks suspiciously like SelectMany, which is usually the bind operation on the sequence monad. We created a new implementation of SelectMany that creates an object which samples...