RubyGems Navigation menu

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

Gemfile:
=

installation:
=

Versions:

  1. 4.0.1 March 08, 2023 (6 ko)
  2. 4.0.0 January 24, 2023 (6 ko)
  3. 3.1.0 September 10, 2018 (6,5 ko)
  4. 3.0.3 September 10, 2015 (6,5 ko)
  5. 3.0.2 April 20, 2015 (6,5 ko)
Voir toutes les versions (7)

Propriétaires:

Auteurs:

  • Paul J Sanchez

Total de contrôle SHA 256:

=

Total de téléchargements 23 228

Pour cette version 7 721

Version publiée:

License:

LGPL

Version de Ruby requise: >= 2.0.0

Liens: