Question: 3.4. Implement a genetic algorithm for minimizing the AIC for the baseball salary regression problem. Model your algorithm on Example 3.5. a. Compare the effects
3.4. Implement a genetic algorithm for minimizing the AIC for the baseball salary regression problem. Model your algorithm on Example 3.5.
a. Compare the effects of using different mutation rates.
b. Compare the effects of using different generation sizes.
c. Instead of the selection mechanism used in Example 3.5, try the following three mechanisms:
i. Independent selection of one parent with probability proportional to fitness and the other completely at random ii. Independent selection of each parent with probability proportional to fitness iii. Tournament selection with P/5 strata, and/or another number of strata that you prefer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
