Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ch. 20 Genetic Algorithms Genetic Algorithms ...

Similar presentations


Presentation on theme: "Ch. 20 Genetic Algorithms Genetic Algorithms ..."— Presentation transcript:

1 Ch. 20 Genetic Algorithms Genetic Algorithms ...
2019/1/17 Genetic Algorithms Ch. 20 Genetic Algorithms ... In this talk, we are going to apply two neural network controller design techniques to fuzzy controllers, and construct the so-called on-line adaptive neuro-fuzzy controllers for nonlinear control systems. We are going to use MATLAB, SIMULINK and Handle Graphics to demonstrate the concept. So you can also get a preview of some of the features of the Fuzzy Logic Toolbox, or FLT, version 2.

2 Genetic Algorithms Terminology: Fitness function Polulation
Encoding schemes Selection Crossover Mutation Elitism

3 Genetic Algorithms Binary encoding Crossover Mutation
Chromosome (11, 6, 9) Gene Crossover Crossover point Mutation Mutation bit

4 Genetic Algorithms Flowchart Current generation Next generation
. . . . . . Elitism Selection Crossover Mutation Current generation Next generation

5 Genetic Algorithms Example: Find the max. of the “peaks” function
z = f(x, y) = 3*(1-x)^2*exp(-(x^2) - (y+1)^2) - 10*(x/5 - x^3 - y^5)*exp(-x^2-y^2) -1/3*exp(-(x+1)^2 - y^2).

6 Genetic Algorithms Derivatives of the “peaks” function
dz/dx = -6*(1-x)*exp(-x^2-(y+1)^2) - 6*(1-x)^2*x*exp(-x^2-(y+1)^2) - 10*(1/5-3*x^2)*exp(-x^2-y^2) + 20*(1/5*x-x^3-y^5)*x*exp(-x^2-y^2) - 1/3*(-2*x-2)*exp(-(x+1)^2-y^2) dz/dy = 3*(1-x)^2*(-2*y-2)*exp(-x^2-(y+1)^2) + 50*y^4*exp(-x^2-y^2) + 20*(1/5*x-x^3-y^5)*y*exp(-x^2-y^2) + 2/3*y*exp(-(x+1)^2-y^2) d(dz/dx)/dx = 36*x*exp(-x^2-(y+1)^2) - 18*x^2*exp(-x^2-(y+1)^2) - 24*x^3*exp(-x^2-(y+1)^2) + 12*x^4*exp(-x^2-(y+1)^2) + 72*x*exp(-x^2-y^2) - 148*x^3*exp(-x^2-y^2) - 20*y^5*exp(-x^2-y^2) + 40*x^5*exp(-x^2-y^2) + 40*x^2*exp(-x^2-y^2)*y^5 -2/3*exp(-(x+1)^2-y^2) - 4/3*exp(-(x+1)^2-y^2)*x^2 -8/3*exp(-(x+1)^2-y^2)*x d(dz/dy)/dy = -6*(1-x)^2*exp(-x^2-(y+1)^2) + 3*(1-x)^2*(-2*y-2)^2*exp(-x^2-(y+1)^2) + 200*y^3*exp(-x^2-y^2)-200*y^5*exp(-x^2-y^2) + 20*(1/5*x-x^3-y^5)*exp(-x^2-y^2) - 40*(1/5*x-x^3-y^5)*y^2*exp(-x^2-y^2) + 2/3*exp(-(x+1)^2-y^2)-4/3*y^2*exp(-(x+1)^2-y^2)

7 Genetic Algorithms GA process: Initial population 5th generation


Download ppt "Ch. 20 Genetic Algorithms Genetic Algorithms ..."

Similar presentations


Ads by Google