commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RNG-47) Migrate "EnumeratedDistribution" from "Commons Math"
Date Wed, 17 Jan 2018 12:51:00 GMT

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

Gilles commented on RNG-47:
---------------------------

commit 6ec1d323e1747152411fa0d52128614bc8ea0f30 ("master" branch).

Review welcome.

> Migrate "EnumeratedDistribution" from "Commons Math"
> ----------------------------------------------------
>
>                 Key: RNG-47
>                 URL: https://issues.apache.org/jira/browse/RNG-47
>             Project: Commons RNG
>          Issue Type: Wish
>            Reporter: Gilles
>            Priority: Minor
>              Labels: api
>             Fix For: 1.1
>
>         Attachments: DiscreteProbabilityCollectionSampler.java
>
>
> 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|https://en.wikipedia.org/wiki/Probability_distribution#Discrete_probability_distribution]).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message