RubyGems Navigation menu

aliastable 4.0.1

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. Table generation requires O(k) time, but subsequent generation is done in O(1) time.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 4.0.1 - March 08, 2023 (6KB)
  2. 4.0.0 - January 24, 2023 (6KB)
  3. 3.1.0 - September 10, 2018 (6.5KB)
  4. 3.0.3 - September 10, 2015 (6.5KB)
  5. 3.0.2 - April 20, 2015 (6.5KB)
全てのバージョンを表示(全7件)

所有者:

プッシュ者:

作者:

  • Paul J Sanchez

SHA 256チェックサム:

7bf602fa42d19ca149a9adb5d8cf76aedcd102fa05869c0dcc4116eed5b63194

累計ダウンロード数 22,601

このバージョンのみ 500

ライセンス:

MIT

必要なRubyのバージョン: >= 2.6.0

リンク: