Question: ( a ) ( 1 5 points ) Consider the function f ( x 1 , x 2 ) = c - ( x 1
a points Consider the function
where abc are digits from your student id Run one cycle of a genetic algorithm to
maximize this function. Show and explain how and what do you compute at each step of
the genetic algorithm:
Assume that the features are realvalued.
You can choose the simplest fitnessselection criteria to choose two points. You can choose
simple crossover eg average and mutation random noise methods as well.
Start by choosing four random points in the domain of the function. Egdots,
Do not choose Be careful to bracket the maximum in a rectangle.
Initial population:
Fitness function:
Selection:
Crossover:
Mutation:
New population:
b points If you did not bracket the optimal point meaning your initial points did not
enclose the optimal point your run might not converge to the global maximum. Com
ment on which of our simplifications might have contributed to this outcome and discuss
strategies to avoid local minima.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
