MCPcopy Create free account
hub / github.com/HobbitLong/CMC / AliasMethod

Class AliasMethod

NCE/alias_multinomial.py:4–65  ·  view source on GitHub ↗

From: https://hips.seas.harvard.edu/blog/2013/03/03/the-alias-method-efficient-sampling-with-many-discrete-outcomes/

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected