Uploaded image for project: 'Commons RNG'
  1. Commons RNG
  2. RNG-47

Migrate "EnumeratedDistribution" from "Commons Math"

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1
    • sampling

    Description

      The main feature of class EnumeratedDistribution in package org.apache.commons.math4.distribution is to allow sampling from a finite set of elements with user-assigned probabilities.

      This functionality seems a good fit for package org.apache.commons.rng.sampling (with a tentative class name of DiscreteProbabilityCollectionSampler).

      Attachments

        Activity

          People

            Unassigned Unassigned
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: