You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2015/11/09 21:55:10 UTC
[jira] [Created] (MATH-1287) EnumeratedDistributions should provide
constructors taking input datasets
Phil Steitz created MATH-1287:
---------------------------------
Summary: EnumeratedDistributions should provide constructors taking input datasets
Key: MATH-1287
URL: https://issues.apache.org/jira/browse/MATH-1287
Project: Commons Math
Issue Type: Improvement
Affects Versions: 3.5
Reporter: Phil Steitz
Priority: Minor
Fix For: 4.0, 3.6
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, {code}EnumeratedIntegerDistribution([0,1,1,2]){code} would be the same as {code}EnumeratedIntegerDistribution([0,1,2], [.25, .5, .25]){code}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)