The document outlines the key concepts and algorithms behind particle swarm optimization (PSO), a swarm intelligence technique inspired by bird flocking. PSO maintains a population of candidate solutions called particles that fly through the problem search space. Each particle keeps track of its individual best solution (pbest) and is aware of the global best (gbest). Particles update their velocity and position based on these values to move closer to better solutions over iterations, with the goal of finding the global optimum. The algorithm is initialized with a random population and runs until stopping criteria are met, requiring only basic mathematical operators to update the swarm.
2. • GOAL 1: No Poverty
• GOAL 2: Zero Hunger
• GOAL 3: Good Health and Well-being
• GOAL 4: Quality Education
• GOAL 5: Gender Equality
• GOAL 6: Clean Water and Sanitation
• GOAL 7: Affordable and Clean Energy
• GOAL 8: Decent Work and Economic Growth
3. • GOAL 9: Industry, Innovation and Infrastructure
• GOAL 10: Reduced Inequality
• GOAL 11: Sustainable Cities and Communities
• GOAL 12: Responsible Consumption and Production
• GOAL 13: Climate Action
• GOAL 14: Life Below Water
• GOAL 15: Life on Land
• GOAL 16: Peace and Justice Strong Institutions
• GOAL 17: Partnerships to achieve the Goal
4. Spatial data analysis
• Spatial interpolation is the process of using
points with known values to estimate
values at other unknown points.
• For example, to make a precipitation (rainfall)
map for your country, you will not find enough
evenly spread weather stations to cover the
entire region.
• How to extract new information or unknown
data points .
4
5. Spatial analysis
• Spatial analysis is the process of manipulating spatial
information to extract new information and meaning from the
original data.
• Usually spatial analysis is carried out with a Geographic
Information System (GIS). A GIS usually provides spatial
analysis tools for calculating feature statistics and carrying out
geoprocessing activities as data interpolation.
• In hydrology, users will likely emphasize the importance of
terrain analysis and hydrological modelling (modelling the
movement of water over and in the earth).
• In wildlife management, users are interested in analytical
functions dealing with wildlife point locations and their
relationship to the environment.
• Each user will have different things they are interested in
depending on the kind of work they do.
5
6. Spatial interpolation
• Spatial interpolation is the process of using points with known values
to estimate values at other unknown points.
• For example, to make a precipitation (rainfall) map for your country,
you will not find enough evenly spread weather stations to cover the
entire region.
• Spatial interpolation can estimate the temperatures at locations
without recorded data by using known temperature readings at
nearby weather stations.
• This type of interpolated surface is often called a statistical surface.
• Elevation data, precipitation, snow accumulation, water table and
population density are other types of data that can be computed
using interpolation.
6
8. Need of spatial maps
• Because of high cost and limited resources,
data collection is usually conducted only in a
limited number of selected point locations.
• In GIS, spatial interpolation of these points
can be applied to create a raster surface with
estimates made for all raster cells.
8
9. • Any data with location coordinates can be treated as a
Spatial Data set. Temporal Data Mining needs time
information. For example, any data set containing the
events over time can be treated as temporal data
• Typical examples of spatiotemporal data mining include
discovering the evolutionary history of cities and lands,
uncovering weather patterns, predicting earthquakes
and hurricanes, and determining global warming
trends.
• Spatial refers to space. Temporal refers to time.
Spatiotemporal, or spatial temporal, is used in data
analysis when data is collected across both space and
time. It describes a phenomenon in a certain location
and time. What is the concept of spatial temporal data
models?
• Spatio-temporal data types enable the user to describe
the dynamic behavior of spatial objects over time.
9
10. Raster and vector data
• Spatial data are of two types according to the storing
technique, namely, raster data and vector data.
• Raster data is a geographic data type where data is
stored as a grid of regularly sized pixels along with
attribute data,
• Vector data is what most people think of when they
consider spatial data. Data in this format consists of
points, lines or polygons. At its simplest level, vector
data comprises of individual points stored as
coordinate pairs that indicate a physical location in
the world.
10
11. Interpolation analysis
• In order to generate a continuous map, for
example, a digital elevation map from elevation
points measured with a GPS device, a suitable
interpolation method has to be used to optimally
estimate the values at those locations where no
samples or measurements were taken.
• The results of the interpolation analysis can then
be used for analyses that cover the whole area
and for modelling.
11
12. Interpolation methods
• There are many interpolation methods.
• Two widely used interpolation methods :
– Inverse Distance Weighting (IDW) and
– Triangulated Irregular Networks (TIN).
12
13. Location Map of Udupi District
• The location map of study area(Udupi) is as shown below.
17. Groundwater level spatial map 2016
• The field data collected from an identified well at badagubettu village of Parkala Udupi
18. Groundwater level spatial map 2016
• The GWL level is classified into different zones using QGIS tool by interpolation from
point data shows the spatial distribution of the depth of water level.
21. Why do animals swarm?
• To forage better
• To migrate
• As a defense against predators
• Social Insects have survived for millions of
years.
22. Swarming – Example
• Bird Flocking
• “Boids” model was proposed by Reynolds
– Boids = Bird-oids (bird like)
• Only three simple rules
23. Swarming Characteristics
• Only 3 simple rules
– Rule 1: Avoid Collision with neighboring birds
– Rule 2: Match the velocity of neighboring birds
– Rule 3: Stay near neighboring birds
• Simple rules for each individual
• learn from insects
• No central control
– Decentralized and hence robust
• Emergent
– Performs complex functions
23
24. Swarm Intelligence - Definition
• “any attempt to design algorithms or
distributed problem-solving devices inspired
by the collective behavior of social insect
colonies and other animal societies”
[Bonabeau, Dorigo, Theraulaz: Swarm
Intelligence]
• Solves optimization problems
30. Particle Swarm Optimization
• Particle swarm optimization imitates human
or insects social behavior.
• Individuals interact with one another while
learning from their own experience, and
gradually move towards the goal.
• It is easily implemented and has proven both
very effective and quick when applied to a
diverse set of optimization problems.
31. • Bird flocking is one of the best example of PSO
in nature.
• One motive of the development of PSO was to
model human social behavior.
32. Algorithm of PSO
• Each particle (or agent) evaluates the function
to maximize at each point it visits in spaces.
• Each agent remembers the best value of the
function found so far by it (pbest) and its co-
ordinates.
• Secondly, each agent know the globally best
position that one member of the flock had
found, and its value (gbest).
33. Algorithm – Phase 1 (1D)
• Using the co-ordinates of pbest and gbest,
each agent calculates its new velocity as:
vi = vi + c1 x rand() x (pbestxi – presentxi)
+ c2 x rand() x (gbestx – presentxi)
where 0 < rand() <1
presentxi = presentxi + (vi x Δt)
36. Department of Electronics and Communication Engineering, MIT, Manipal
PSO Basics
Main Idea: Create an algorithm to emulate bird flocking or fish
schooling
Basic models of flocking are controlled by the following means:
• Separation
• Alignment
• Cohesion
36
Nature Algorithm
Birds or Fishes Particles
Explore environment in search
for food
Explore search space in search
of ideal function values
Exchange information by
acoustical or optical means
Exchange information by
sharing position of promising
locations
37. Department of Electronics and Communication Engineering, MIT, Manipal
Methodology
START
Evaluate fitness
function f(xi)
Maximum
iterations
reached?
STOP
YES
NO
PSO Implementation Flowchart
37
Assign position and
velocity of particle
Initialize a
population of ‘n’
such particles
For each particle:
Calculate Local best
For entire population:
Calculate Global best
Velocity and
position update
38. Department of Electronics and Communication Engineering, MIT, Manipal
Parameter Settings
While implementing PSO, the following parameters should be
carefully evaluated and chosen precisely:
• Constants, C1 and C2 (Cognitive and Social components)
• Inertial Weights (W)
• Population size (N)
Vi
k+1 = wVi
k +c1 rand1(…) x (pbesti-si
k) + c2 rand2(…) x (gbest-si
k)
(1)
si
k+1 = si
k + Vi
k+1
(2) 38
39. Department of Electronics and Communication Engineering, MIT, Manipal
Results and Discussion
39
W N Avg. Fn Val Std. Dev
0 30 -0.9940 0.0040
0.5 30 -1.0316 4.0465e-10
1 30 -1.0292 1.0709e-05
1-> 0.2 30 -1.0316 1.4563e-09
1-> 0.1 30 -1.0316 4.0102e-10
Function: Six Hump Camel
40. Department of Electronics and Communication Engineering, MIT, Manipal
Results and Discussion
40
N Avg. Fn Val Std. Dev
40 -1.0316 3.9968e-10
30 -1.0316 4.0178e-10
20 -1.0316 5.4547e-10
10 -1.0308 3.3306e-04
5 -1.0189 0.0044
Function: Six Hump Camel
41. Department of Electronics and Communication Engineering, MIT, Manipal
Results and Discussion
41
C1 Avg. Fn Val Std. Dev
0 -1.0316 9.2444e-08
0.5 -1.0316 6.5470e-09
1.0 -1.0316 4.0644e-10
1.5 -1.0316 6.2255e-10
2 -1.0316 2.9949e-08
Function: Six Hump Camel
C1- Cognitive component, C2- Social Component
42. Department of Electronics and Communication Engineering, MIT, Manipal
Results and Discussion
42
C2 Avg. Fn Val Std. Dev
0 -1.0251 8.7950e-05
0.5 -1.0316 3.1662e-09
1.0 -1.0316 4.7316e-10
1.5 -1.0316 5.8168e-10
2 -1.0316 5.0995e-08
Function: Six Hump Camel
C1- Cognitive component, C2- Social Component
43. Department of Electronics and Communication Engineering, MIT, Manipal
Hybrid approach
43
START
Set number of particles
(ANN Structure)
Initialize position and
velocity of particle
Calculate fitness value (mse)
of each particle (ANN)
Max
Iterations
met?
STOP
Find best Fitness value
( Min. mse)
Iteration(N) = N+1