The Basic Gene Expression Algorithm
The fundamental steps of the basic gene expression algorithm are listed below in pseudocode:
- 1. Select function set;
- 2. Select terminal set;
- 3. Load dataset for fitness evaluation;
- 4. Create chromosomes of initial population randomly;
- 5. For each program in population:
- a) Express chromosome;
- b) Execute program;
- c) Evaluate fitness;
- 6. Verify stop condition;
- 7. Select programs;
- 8. Replicate selected programs to form the next population;
- 9. Modify chromosomes using genetic operators;
- 10. Go to step 5.
The first four steps prepare all the ingredients that are needed for the iterative loop of the algorithm (steps 5 through 10). Of these preparative steps, the crucial one is the creation of the initial population, which is created randomly using the elements of the function and terminal sets.
Read more about this topic: Gene Expression Programming
Famous quotes containing the words basic and/or expression:
“The basic difference between classical music and jazz is that in the former the music is always greater than its performanceBeethovens Violin Concerto, for instance, is always greater than its performancewhereas the way jazz is performed is always more important than what is being performed.”
—André Previn (b. 1929)
“Cows sometimes wear an expression resembling wonderment arrested on its way to becoming a question. In the eye of superior intelligence, on the other hand, lies the nil admirari spread out like the monotony of a cloudless sky.”
—Friedrich Nietzsche (18441900)