Evolutionary Algorithms

What are Evolutionary Algorithms?

Evolutionary algorithms are an unsupervised learning alternative to neural networks that rely on fitness functions instead of trained nodes for evaluation.

With this approach, candidate solutions to an optimization problem are randomly generated and act as individuals interacting with a larger population. A fitness function determines the quality of the solutions the candidates find as they move about in each iteration. The “best fit” individuals are then chosen for reproduction in the next iteration. This generational process is repeated until the algorithm has evolved to find the optimal solution to the problem.

How do Fitness Functions Work in Evolutionary Algorithms?

The heart of these algorithms is the fitness function, which is an objective function used to summarize, as a single figure of merit (attractiveness), how close the current agent (solution) is to achieving the algorithm’s programmed aims. There are many variations of the exact function that can include velocity/position like in swarm intelligence, or employ any other time or frequency variables.

Regardless of specific function, the evolution process works involves the same steps:

  1. Randomly generate the initial population of individuals. (First generation)

  2. Evaluate the fitness of each individual in that population with the preferred fitness function.

  3. Repeat the following generational steps until an optimal solution is found:

    1. Select the parents (best-fit individuals) for reproduction.

    2. Breed new individuals through crossover and random mutation, giving “birth” to the next generation.

    3. Use the fitness function to gauge the individual fitness of the new individuals.

    4. Replace least-fit population with new individuals.

Please sign up or login with your details

Forgot password? Click here to reset