Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Sampling a categorical: more than meets the eye

6 months ago (blog.msmetko.xyz)

3 comments

incognito124

Reply

incognito124  6 months ago

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.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities