RubyGems Navigation menu

aliastable 1.0.0

If a categorical distribution has k distinct values, traditional approaches will require O(k) work to pick an outcome with the correct probabilities. This algorithm uses conditional probability to construct a table which will yield outcomes with the correct probabilities, but in O(1) time.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 4.0.1 - March 08, 2023 (6.0 KB)
  2. 4.0.0 - January 24, 2023 (6.0 KB)
  3. 3.1.0 - September 10, 2018 (6.5 KB)
  4. 3.0.3 - September 10, 2015 (6.5 KB)
  5. 3.0.2 - April 20, 2015 (6.5 KB)
  6. 1.0.0 - March 24, 2013 (16.0 KB)
顯示所有版本(共 7)

Runtime 相依性套件 (1):

skewheap ~> 1.0

擁有者:

作者:

  • Paul J Sanchez

SHA 256 總和檢查碼:

= 複製 已複製

總下載次數 22,798

這個版本 4,112

授權:

LGPL

Ruby 版本需求: >= 1.8.1

相關連結: