#bucket #distribution #top #rand #gumbel

bin+lib gumbel-top-bucket

A bucket data structure that is sampled using the Gambel-Top trick, which allows for O(1) sampling from a softmax-like distribution

1 unstable release

0.1.0 Jun 26, 2023

#1306 in Data structures

MIT license

8KB
102 lines

gumbel-bucket-rs

A bucket data structure that is sampled using the Gambel-Top trick, which allows for O(1) sampling from a distribution approximating the softmax distribution.

Dependencies

~310KB