Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this question, assume that there are 1 0 0 samples of flowers. For each sample, two features ( petal length and petal width )
For this question, assume that there are samples of flowers. For each sample,
two features petal length and petal width are measured and as shown in Figure
each point represents a sample and its coordinates represent the values
of its two features. Both the petal length and the petal width of all samples are less
than cm
We would like to divide those flower samples into five clusters and find the
corresponding cluster centres centroids
Answer the following questions about the design of a Particle Swarm
Optimization PSO algorithm to determine the centroid of each cluster for this
clustering problem.
Figure
a Write down the precise specification of a particle, ie describe the contents
of a candidate solution represented by a particle. Also, give an example of
a particle based on your specification.
marks
b Describe a suitable fitness function and specify in detail all the steps
required for computing the fitness of a particle. As part of your answer,
state whether the fitness function should be minimised or maximised.
There is no need to write down a mathematical formula for the fitness
function.
marks
c Write down the flowchart of PSO to solve this clustering problem.
marks
d Identify which steps in the PSO flowchart of your answer in c need to be
modified if you use a Genetic Algorithm instead of PSO to solve this
clustering problem; and describe how to modify each of those steps when
using a Genetic Algorithm.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started