Fixing Random, part 15

added by DotNetKicks
3/25/2019 11:47:14 AM

1 Kicks, 385 Views

Code is here.] Last time on FAIC we made a correct, efficient implementation of SelectMany to bind a likelihood function and projection onto a prior, and gave a simple example. I deliberately chose "weird" numbers for all the weights; let's do that same example again but with more "nice round number" weights: var prior = new List () { Tall, Medium, Short } .ToWeighted(60, 30, 10);...