Help understanding genetic algorithms please

  • Thread starter Thread starter wasi-uz-zaman
  • Start date Start date
  • Tags Tags
    Algorithms
Click For Summary
The discussion revolves around the challenges faced in understanding the fitness function within genetic algorithms. The original poster seeks assistance after studying the evolution of the fitness function but struggling to grasp its application. A response highlights the importance of specificity in the inquiry, suggesting that sharing details about the programming language or specific issues encountered could lead to more targeted help. The key components of genetic algorithms are outlined: generating new solution vectors through mating, scoring these vectors using the fitness function, and selecting the top-performing solutions for further iterations. The process continues until a stopping criterion is met, such as convergence of scores or a reduction in the solution pool.
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
 
Technology 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.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 1 ·
Replies
1
Views
962
  • · Replies 43 ·
2
Replies
43
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K