Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1287

EnumeratedDistributions should provide constructors taking input datasets

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 4.0, 3.6
    • Labels:
      None

      Description

      It should be possible to create an enumerated real or integer distribution from an input array of values, with the frequency of occurrence of a value determining its probability. For example,

      EnumeratedIntegerDistribution([0,1,1,2])

      would be the same as

      EnumeratedIntegerDistribution([0,1,2], [.25, .5, .25])

      .

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              psteitz Phil Steitz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: