Forecasting via Genetic Algorithm: Part 4
Forecasting, Genetic Algorithm, Model Development No Comments »Part 4: Roulette Selection
So we have initialised our population of chromosomes each of which is made up of 13 genes. We can represent our population in the from of a matrix where individual chromosomes are represented vertically and it’s genes horizontally. We have something like:

Each member of the population is assigned a fitness value based on the fitness function, which in our case is defined as
Why Roulette Selection?
Roulette wheel sampling was first suggested by Goldberg and provides a method of global selection when applied to members of a population. In order for genes of fit chromosomes to be passed on to future generations, there must be some form of selection method to decide which members of the population will be selected to breed and which ones will be replaced. It seems sensible to breed from genes belonging to the fittest chromosomes and replace the least fit ones, but this has a draw back: the GA can converge to local minimum as the search space is restricted to the genes covered by the fittest chromosomes only. One of the mechanisms that enable genes of weaker organism to be passed on while at the same time favouring fitter chromosomes is Roulette Selection. To understand this consider the following example:
Assume we have a population of 4 chromosomes each of which has their fitness value evaluated. To construct a Roulette wheel for this population we calculate the Roulette probability of each chromosome as a ratio of its fitness to the fitness of the entire population. That is
The illustration below shows the Roulette wheel for our hypothetical 4-chromosome population:
Extending the method to the problem at hand, we have:

Note that our Roulette wheel represents a population size of 10. Chromosome 2 for instance has a higher probability of being picked compared to to Chromosome 6. This off-course doesn’t mean that Chromosome 2 will always be picked. It all depends on where the Roulette wheel “stops”. Also note that different population size would have a different representation to its Roulette wheel because every chromosome is allocated a section corresponding to its fitness value.
Main Points:
- Roulette Selection is an efficient way of allowing excellent genes embedded in a poor performing chromosome to be passed on to future generations.
- Roulette Selection enables convergence to global minimum.
- Think of this method as chromosomes represented on a Roulette wheel which is “spun” whenever a parent needs to be selected for crossover/breeding.










