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

Ivan Karnasevich updated MATH-1631:
-----------------------------------
    Description: 
Implement roulette wheel selection
 [https://en.wikipedia.org/wiki/Fitness_proportionate_selection]

For example, if you want to have a probability distribution like this:
 * 1 - 30%
 * 2 - 40%
 * 3 - 25%
 * 4 - 5%

It will be easy to achieve this by passing the following argument to the new 
component:
{code:java}
{1 : 0.3, 2: 0.4, 3: 0.25, 4: 0.05}
{code}
or
{code:java}
{1 : 0.6, 2: 0.8, 3: 0.5, 4: 0.1}
{code}

  was:
Implement roulette wheel selection
 [https://en.wikipedia.org/wiki/Fitness_proportionate_selection]

For example, if you want to have a probability distribution like this:
 * 1 - 30%
 * 2 - 40%
 * 3 - 25%
 * 4 - 5%

You will be able to easily achieve this by passing the following argument to 
the new component:
{code:java}
{1 : 0.3, 2: 0.4, 3: 0.25, 4: 0.05}
{code}
or
{code:java}
{1 : 0.6, 2: 0.8, 3: 0.5, 4: 0.1}
{code}


> Roulette wheel selection
> ------------------------
>
>                 Key: MATH-1631
>                 URL: https://issues.apache.org/jira/browse/MATH-1631
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 3.6.1
>            Reporter: Ivan Karnasevich
>            Priority: Major
>
> Implement roulette wheel selection
>  [https://en.wikipedia.org/wiki/Fitness_proportionate_selection]
> For example, if you want to have a probability distribution like this:
>  * 1 - 30%
>  * 2 - 40%
>  * 3 - 25%
>  * 4 - 5%
> It will be easy to achieve this by passing the following argument to the new 
> component:
> {code:java}
> {1 : 0.3, 2: 0.4, 3: 0.25, 4: 0.05}
> {code}
> or
> {code:java}
> {1 : 0.6, 2: 0.8, 3: 0.5, 4: 0.1}
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to