Sampling a categorical: more than meets the eye

by incognito124on 1/4/2025, 6:43 PMwith 1 comments

by incognito124on 1/4/2025, 6:43 PM

I explored three ways to sample from a categorical random variable and wrote code to experiment with runtime performance. The math is made concrete with graphs and ideas with code. It turned out that added complexity is not always worth it.