You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rosenbrock Particle Swarm Optimisation in the 2-dimensional space
Sphere
$$
f_{Sphere}(x) = \sum_{i=1}^{n} {x_{i}^{2}}
$$
Sphere Particle Swarm Optimisation in the 2-dimensional space
Evaluate
The algorithm is evaluated against two criteria:
Average Loss
Average Loss is calculated as follows $\overline{f(p)} - f(global_{min})$ where $p$ is a particle's current position and $global_{min}$ is the technical global minimum of the function.
The graphs shown are all in the 10 Dimensional Space.
Ackley
Ackley Average Loss in the 10 Dimensional Space over Iterations
Griewank
Griewank Average Loss in the 10 Dimensional Space over Iterations
Michalewicz
Michalewicz Average Loss in the 10 Dimensional Space over Iterations
Rastrigin
Rastrigin Average Loss in the 10 Dimensional Space over Iterations
Rosenbrock
Rosenbrock Average Loss in the 10 Dimensional Space over Iterations
Sphere
Sphere Average Loss in the 10 Dimensional Space over Iterations
Number of Successes
The number of successes is evaluated base on how close the global best position of the terminated particle swarm optimisation is to the technical global minimum of the function. The condition is rather harsh, having used the NumPy allclose function to evaluate the closeness of the final position to the actual position. The result is shown in the graph below:
About
Particle Swarm Optimisation in the N-dimensional space