计算智能代写 | Computational intelligence and its application

本次中国香港代写是一个Computational intelligence and its application的assignment

1. Consider the following function:

(a) The genetic algorithm is used to find the peak of the function f(x). Each solution
is represented as an 8-bit chromosome, and the number of individuals in a
population is 4. The initial population is given in the following table:

blank

Determine the respective values x of the four individuals.

(b) It is given that f(x) > 0. Explain why f(x) can be used as the fitness function.
Assuming that the roulette wheel selection is adopted, complete the following
table.

blank

(c) The one-point crossover operator is adopted, with crossover probability 𝑝𝑐 =
0.8. The mutation probability 𝑝𝑚 = 0.1. Four new individuals are generated for
the new generation. In the selection of a pair of parents for crossover, if the
second selected individual is the same as the first selected one, the selection
of the second individual is performed again. Determine the four individuals for
the next generation.

(d) If elitism is employed in (c), determine the four individuals in the next
generation.

(e) Repeat (c), if the tournament selection with 𝑘 = 2 is used, i.e., two distinct
individuals are selected randomly with uniform probability compete in any
tournament.

(f) The global best PSO is now used to find the peak of the function f(x). The
population size is still four, and the four initial particles are the four initial
individuals given in (a). The 𝑖-th particle is denoted as xi(𝑡), where 𝑖 = 1, 2, 3, 4
and 𝑡 = 1 initially. The initial velocity of all the particles is zero, i.e., vi(1) = 0.
The following parameters are given:
Inertia weight: w = 0.9,
Acceleration factors: c1 = 2, c2 = 2, and
Maximum number of iterations: 𝑁max = 2.
Determine the best solution obtained by the algorithm.


程序代写代做C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


blank

本网站支持淘宝 支付宝 微信支付  paypal等等交易。如果不放心可以用淘宝交易!

E-mail: itcsdx@outlook.com  微信:itcsdx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank

发表评论