Question: a. Using Genetic algorithm Maximize f(x)=2x23x over {0,1,231} with initial x values of (14, 26,9,18 ), show the one crossover and mutation operation. b. Cluster
a. Using Genetic algorithm Maximize f(x)=2x23x over {0,1,231} with initial x values of (14, 26,9,18 ), show the one crossover and mutation operation. b. Cluster the following eight points (with (x,y) representing locations) into three clusters: Al(2,10),A2(2,5),A3(8,4),A4(5,8),A5(7,5),A6(6,4),A7(1,2),A8(4,9) Initial cluster centers are: Al(2,10),A4(5,8) and A7(1,2). The distance function between two points a=(x1,y1) and b=(x2,y2) is defined as- P(a,b)=x2x1+y2y1 Use K-Means Algorithm to find the three cluster centers after the second iteration
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
