Thursday, August 7, 2008

Chosing GA parameters

The following are the parameters to GA:

  • The Probability of Cross over (pc)
  • The Probability of Mutation (pm)
  • No of generations (n)
  • String length (l)
  1. 0.6<=pc<=0.9.
  2. 0<=pm<=0.1.
  3. It depends on your processors's speed. 100 is an optimal one.
  4. Increase in l increases accuracy but decreases speed. 20 is an optimal value.
The reasons for choosing these values ll be discussed in the upcoming steps.

No comments: