You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* switch to AliasTables.jl
* retune heuristic
* add test for #832
* add more tests
* move alias table import and tighten from using to import
* Back out multinomial heuristic adjustment at @adienes's request
* Update test/univariate/discrete/categorical.jl (style)
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
---------
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Here is comparison of AliasTable and sample. sample working properly, AliasTable produce wrong result for values ~1e5 and more
Results:
sample [1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8, 1.0e8]
AliasTable [94.0, 923.0, 388.0, 529.0, 334.0, 930.0, 630.0, 407.0, 396.0, 959.0, 215.0, 688.0, 704.0, 825.0, 524.0, 565.0]
AliasTable ignoring high-probability samples.
The text was updated successfully, but these errors were encountered: