Week 3 - Genetic Programming Flashcards
1
Q
What is the algorithm outline for genetic programming?
A
- Generate random “programs”.
- Evaluate programs using training data.
- Selectively modify population of programs using crossover and mutation etc.
- If a good program is found, finish, else go to 2.
2
Q
How does mutation work in genetic programming?
A
Choose a subtree at random, remove it, and generate a new subtree in its place.
3
Q
How does crossover work in genetic programming?
A
Swapping a subtree from 2 chromosomes.
4
Q
What are the 5 major preparatory steps for genetic programming?
A
- Determining the set of terminals.
- Determining the set of functions.
- Determining the fitness measure.
- Determining the parameters for the run.
- Determining the criterion for terminating a run.