What are the differences between genetic algorithms and evolution strategies?

In evolution strategies, the individuals are coded as vectors of real numbers. On reproduction, parents are selected randomly and the fittest offsprings are selected and inserted in the next generation. ES individuals are self-adapting. The step size or “mutation strength” is encoded in the individual, so good parameters get to the next generation by selecting … Read more

Code generation by genetic algorithms

If you are sure you want to do this, you want genetic programming, rather than a genetic algorithm. GP allows you to evolve tree-structured programs. What you would do would be to give it a bunch of primitive operations (while($register), read($register), increment($register), decrement($register), divide($result $numerator $denominator), print, progn2 (this is GP speak for “execute two … Read more

Machine Learning Algorithm for Predicting Order of Events?

This is essentially a sequence prediction problem, so you want Recurrent neural networks or hidden Markov models. If you only have a fixed time to look back, time window approaches might suffice. You take the sequence data and split it into overlapping windows of length n. (eg. you split a sequence ABCDEFG into ABC, BCD, … Read more

Roulette Selection in Genetic Algorithms

It’s been a few years since i’ve done this myself, however the following pseudo code was found easily enough on google. for all members of population sum += fitness of this individual end for for all members of population probability = sum of probabilities + (fitness / sum) sum of probabilities += probability end for … Read more

What are good examples of genetic algorithms/genetic programming solutions? [closed]

Not homework. My first job as a professional programmer (1995) was writing a genetic-algorithm based automated trading system for S&P500 futures. The application was written in Visual Basic 3 [!] and I have no idea how I did anything back then, since VB3 didn’t even have classes. The application started with a population of randomly-generated … Read more