[ 
https://issues.apache.org/jira/browse/MATH-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phil Steitz resolved MATH-1287.
-------------------------------
    Resolution: Fixed

Updates committed in 
master: 5a1b473d5c57092e7f77ca008b1085c512577ce7
3,x: 430c7f45675ce3fa78c9fed1a41c2442633469e6

> 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)

Reply via email to