Help understanding genetic algorithms please

  • Thread starter Thread starter wasi-uz-zaman
  • Start date Start date
  • Tags Tags
    Algorithms
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 1K views
wasi-uz-zaman
Messages
89
Reaction score
1
TL;DR
HELLO, i have started working on Genetic Algorithm , i have studied evloution of fitness function, but i really could not get it. please help me in this regard
wasi
HELLO, i have started working on Genetic Algorithm , i have studied evloution of fitness function, but i really could not get it. please help me in this regard
wasi
 
Physics news on Phys.org
I am not familiar with this subject, but I think it would be helpful if you were more specific about what you are doing. There are several books on the subject. Are you reading a particular book on programming genetic algorithms? Do you have a particular program in some language that is not working? What is going wrong?
 
Genetic algorithms have three parts:
- generate a new set of possible solution vectors from the existing set mating two or more solution vectors to make a new one
- using the fitness function to score each solution vector
- selecting those solution vectors with scores over a certain threshold value or by selecting the top N solutions and discarding the rest

And then repeat the process until some criteria like all scores are about the same or the pool of solutions gets too small.