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:57:11 UTC

[jira] [Commented] (MATH-1287) EnumeratedDistributions should provide constructors taking input datasets

    [ https://issues.apache.org/jira/browse/MATH-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997334#comment-14997334 ] 

Phil Steitz commented on MATH-1287:
-----------------------------------

I need the Real version of this to repair the fix for MATH-1246.

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