SlideShare a Scribd company logo
Spatial Data Mining
Presented by-:
Rajkumar jain
M.tech (c.s.e)
1st
year (2nd
sem)
Overview
• What is spatial data.
• What makes spatial data mining
different.
• Spatial data mining task
• Spatial data properties
• Clustering analysis
• Trend analysis
• Future parameter
2
What is Spatial Data?
• Objects of
types:
– points
– lines
– polygons
– etc.
Used in/for:
GIS - Geographic Information
Systems
GPS - Global Positioning System
Environmental studies
etc …
4
Introduction
• Spatial data mining is the process of discovering
interesting, useful, non-trivial patterns from large
spatial datasets
– E.g. Determining hotspots: unusual locations.
• Spatial Data Mining Tasks
– Characteristics rule.
– Discriminate rule.
E.g. Comparison of price ranges of different geographical
area.
– Association rule-: we can associate the non spatial attribute
to spatial attribute or spatial attribute to spatial attribute.
– Clustering rule-: helpful to find outlier detection which is
useful to find suspicious knowledge E.g. Group crime location.
- Classification rule-: it defines whether a spatial entity belong
to a particular class or how many classes will be classified.
e.g. Remote sensed image based on spectrum and GIS data.
- Trend detection-A trend is a temporal pattern in some time
series data. Spatial trend is defined as consider a non spatial
attribute which is the neighbour of a spatial data object.
• Properties of Spatial Data
– Spatial autocorrelation
– Spatial heterogeneity
– Implicit Spatial Relations
5
Hetrogeneity of Spatial Data
• Auto correlation.
• Patterns usually have to be defined in the
spatial attribute subspace and not in the
complete attribute space.
• Longitude and latitude (or other
coordinate systems) are the glue that
link different data collections together.
• People are used to maps in GIS
therefore, data mining results have to
summarized on the top of maps.
• Patterns not only refer to points, but
can also refer to lines, or polygons or
other higher order geometrical objects
7
Autocorrelation
• Items in a traditional data are
independent of each other,
– whereas properties of locations in a map are
often “auto-correlated”.
• First law of geography [Tobler]:
– Everything is related to everything, but
nearby things are more related than distant
things.
– People with similar backgrounds tend to live
in the same area.
– Economies of nearby regions tend to be
similar.
– Changes in temperature occur gradually
over space.
9
10
Spatial Relations
• Spatial databases do not store spatial
relations explicitly
– Additional functionality required to compute them
• Three types of spatial relations specified by
the OGC reference model
– Distance relations
• Euclidean distance between two spatial features
– Direction relations
• Ordering of spatial features in space
– Topological relations
• Characterise the type of intersection between spatial
features
11
Distance relations
• If dist is a distance
function and c is
some real number
1. dist(A,B)>c,
2. dist(A,B)<c and
3. dist(A,B)=c
A
B
A B
BA
12
Direction relations
• If directions of B and C
are required with
respect to A
• Define a representative
point, rep(A)
• rep(A) defines the
origin of a virtual
coordinate system
• The quadrants and half
planes define the
direction relations
• B can have two values
{northeast, east}
• Exact direction relation
is northeast
A
C
B
rep(A)
C north A
B northeast A
13
Topological Relations
• Topological relations describe how geometries
intersect spatially.
• Simple geometry types
– Point, 0-dimension
– Line, 1-dimension
– Polygon, 2-dimension
• Each geometry represented in terms of
– boundary (B) – geometry of the lower dimension
– interior (I) – points of the geometry when boundary is
removed
– exterior (E) – points not in the interior or boundary
14
DE-9IM
• Topological relations are defined using any
one of the following models
– 4IM, four intersection model (only B and E
considered)
– 9IM, nine intersection models (B, I, and E)
– DE-9IM, dimensionally extended 9 intersection
model.
• Dim is the dimension function
15
Example
• Consider two
polygons
– A - POLYGON ((10
10, 15 0, 25 0, 30 10,
25 20, 15 20, 10 10))
– B - POLYGON ((20
10, 30 0, 40 10, 30
20, 20 10))
16
I(B) B(B) E(B)
I(A)
B(A)
E(A)
9-Intersection Matrix of example
geometries
17
DE-9IM for the example
geometries
I(B) B(B) E(B)
I(A) 2 1 2
B(A) 1 0 1
E(A) 2 1 2
18
Relationships using DE-9IM
• Different geometries may give
rise to different numbers in the
DE-9IM
• For a specific type of
relationship we are only
interested in certain values in
certain positions
– That is, we are interested in
patterns in the matrix than
actual values
• Actual values are replaced by
wild cards
– T: value is "true" - non empty -
any dimension >= 0
– F: value is "false" - empty -
dimension < 0
– *: Don't care what the value is
– 0: value is exactly zero
– 1: value is exactly one
– 2: value is exactly two
A
over
laps
B
I(B) B(B) E(B)
I(A) T * T
B(A) * * *
E(A) T * *
19
Cluster analysis
• Cluster analysis divides data into meaningful or useful groups
(clusters). Cluster analysis is very useful in spatial databases.
For example, by grouping feature vectors as clusters can be
used to create thematic maps which are useful in geographic
information systems.
• CLUSTERING METHODS FOR SPATIAL DATA MINING
1. Partitioning Around Medoids (PAM)- PAM is similar to K- means
algorithm. Like k- means algorithm, PAM divides data sets into
groups but based on medoids. Whereas k- means is based on
centroids. By using medoids, we can reduce the dissimilarity of
objects within a cluster. In PAM, first calculate the medoid,
then assigned the object to the nearest medoid, which forms a
cluster.
• let i be a object, vi be a cluster then i is nearer to medoids mvi
than mw d(i ,mvi)<d(i, mw) here w=1,2,……..k.
The k representative objects should minimize the objective
function, which is the sum of the dissimilarities of all objects to
their nearest medoid: Objective function = S d(i, mvi)
• Clustering Large Applications(CLARA)
• Compared to PAM, CLARA can deal with much larger data sets.
Like PAM CLARA also finds objects that are centrally located in
the clusters. The main problem with PAM is that it finds the
entire dissimilarity matrix at a time. So for n objects, the space
complexity of PAM becomes O(n2). But CLARA avoid this
problem. CLARA accepts only the actual measurements (i.e.,. n ´
p data matrix).
• CLARA assigns objects to clusters in the following way:
• BUILD-step: Select k "centrally located" objects, to be used as
initial medoids. Now the smallest possible average distance
between the objects to their medoids are selected, that forms
clusters.
• SWAP-step: Try to decrease the average distance between the
objects and the medoids. This is done by replacing
representative objects. Now an object that does not belong to
the sample is assigned to the nearest medoids.
20
Trend analysis
• Spatial trend-: it is regular change of one or more non spatial
attribute.
E.g. when we move away eastward from the cyber tower, the
rental of residential house decrease approximately at the rate
of 5% per km.
• This trend is identified by neighborhood path starting from
location O and regression analysis is performed on the
respective attribute values for the object of a neighborhood
path to describe the regularity of change.
there are two algorithm to determine the global trend and local
trend.
• Global trend-:
here if considering all the object on all path starting from O,
the values for the specified attribute in general trend tend to
increase or decrease with increasing distance or decreasing
distance. 21
• Local trend-:
it consider the detect single path starting from an object O
and having a certain trend. E.g. some trends may be positive
while the other may be negative.
22
Spatial trend detection
• E.g. Let g be graph and O is an object in g and let a is a non
special attribute on which we are detecting changing pattern
while we move away from O in the neighborhood graph.
• Here let be a filter which indicate subset of neighbor to be
taken into consideration.
• Let min_conf be real number.
• Let min_length and max_length initialized with natural
number and here difference of distance must be between
these.
23
Architecture of Spatial Data mining
24
HUMAN COMPUTER INTERACTION SYSTEM
SPATIAL DATA
MINING SYSTEM,
DISCOVERABLE
KNOWLEDGE
DATA RELATED TO
PROBLEM
KNOWLEDGE BASE
MANAGEMENT
SYSTEM
SPATIAL DATABASE
SPATIAL DATA
BASE
MANAGEMENT
SYSTEM
DOMAIN
KNOWLEDGE
DATABASE
Examples of Spatial Patterns
• 1855 Asiatic Cholera in London.
– A water pump identified as the source.
• Crime hotspots for planning police
patrol routes.
• Affects of weather in the US caused by
unusual warming of Pacific ocean (El
Nino).
26
Future scope
• Data mining in Spatial Object Oriented Databases:
How can the object oriented approach be used to design a
spatial database. Object Oriented Database may be a better
choice for handling spatial data rather than traditional relational
or extended relational models. For example, rectangles,
polygons, and more complex spatial objects can be model
naturally in object oriented database.
• Parallel data mining can use because here it takes much
computational time to process the spatial data.
Thank you
27

More Related Content

PPT
4.2 spatial data mining
PPTX
Spatial Data Mining
PPTX
Introduction to Web Mining and Spatial Data Mining
PPTX
Geocoding for beginners
PDF
Spatial Data Science with R
PPTX
geo spatial data and its types.pptx
PDF
Big Data Visualization
PPTX
Data Exploration.pptx
4.2 spatial data mining
Spatial Data Mining
Introduction to Web Mining and Spatial Data Mining
Geocoding for beginners
Spatial Data Science with R
geo spatial data and its types.pptx
Big Data Visualization
Data Exploration.pptx

What's hot (20)

PPTX
Spatial Database
PPTX
Decision Trees
PPTX
Virtual machine security
PDF
Lecture6 introduction to data streams
PPTX
Cloud Computing Security
PPT
Data preprocessing
PPT
Fog computing
PDF
PAC Learning
PPT
3.3 hierarchical methods
PPTX
Bayesian Belief Network and its Applications.pptx
PPTX
Machine Learning: Bias and Variance Trade-off
PPTX
Market oriented Cloud Computing
PPTX
Ensemble methods in machine learning
PPTX
Big Data Analytics with Hadoop
PPTX
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
PDF
Bayesian Networks - A Brief Introduction
PPTX
Dynamic Itemset Counting
PPT
Data preprocessing
PPTX
PDF
Logistic regression in Machine Learning
Spatial Database
Decision Trees
Virtual machine security
Lecture6 introduction to data streams
Cloud Computing Security
Data preprocessing
Fog computing
PAC Learning
3.3 hierarchical methods
Bayesian Belief Network and its Applications.pptx
Machine Learning: Bias and Variance Trade-off
Market oriented Cloud Computing
Ensemble methods in machine learning
Big Data Analytics with Hadoop
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
Bayesian Networks - A Brief Introduction
Dynamic Itemset Counting
Data preprocessing
Logistic regression in Machine Learning
Ad

Similar to Spatial data mining (20)

PDF
Spatial association discovery process using frequent subgraph mining
PPT
dm_spdm_short.ppt
PPT
dm_spdm_short (3).ppt
PPTX
Spatial databases
PDF
17 manjula aakunuri final_paper--185-190
PDF
Spatial Data Analysis: Unlocking Insights through Geospatial Intelligence
PPTX
Introduction to spatial data mining
PDF
13584 27 multimedia mining
PDF
Spatial analysis and Analysis Tools
PDF
International Journal of Engineering Research and Development
PDF
unitiv-spacialdataanalysis-200423132043.pdf
PPTX
TYBSC IT PGIS Unit IV Spacial Data Analysis
PDF
Chapter7.Revised
PDF
PREDICTION OF STORM DISASTER USING CLOUD MAP-REDUCE METHOD
PPTX
Graph Mining, Graph Patterns, Social Network, Set & List Valued Attribute, Sp...
PDF
A hybrid approach for analysis of dynamic changes in spatial data
PDF
Dynamic spatio-temporal pattern discovery: a novel grid and density-based clu...
PPTX
Presentation Template
PPT
upd Unit-v -Cluster Analysis (1) (1).ppt
PDF
(eBook PDF) Introduction to Geographic Information Systems 8th
Spatial association discovery process using frequent subgraph mining
dm_spdm_short.ppt
dm_spdm_short (3).ppt
Spatial databases
17 manjula aakunuri final_paper--185-190
Spatial Data Analysis: Unlocking Insights through Geospatial Intelligence
Introduction to spatial data mining
13584 27 multimedia mining
Spatial analysis and Analysis Tools
International Journal of Engineering Research and Development
unitiv-spacialdataanalysis-200423132043.pdf
TYBSC IT PGIS Unit IV Spacial Data Analysis
Chapter7.Revised
PREDICTION OF STORM DISASTER USING CLOUD MAP-REDUCE METHOD
Graph Mining, Graph Patterns, Social Network, Set & List Valued Attribute, Sp...
A hybrid approach for analysis of dynamic changes in spatial data
Dynamic spatio-temporal pattern discovery: a novel grid and density-based clu...
Presentation Template
upd Unit-v -Cluster Analysis (1) (1).ppt
(eBook PDF) Introduction to Geographic Information Systems 8th
Ad

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Machine learning based COVID-19 study performance prediction
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
KodekX | Application Modernization Development
PPTX
Big Data Technologies - Introduction.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Approach and Philosophy of On baking technology
MIND Revenue Release Quarter 2 2025 Press Release
Machine learning based COVID-19 study performance prediction
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
MYSQL Presentation for SQL database connectivity
Programs and apps: productivity, graphics, security and other tools
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Empathic Computing: Creating Shared Understanding
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Understanding_Digital_Forensics_Presentation.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Advanced methodologies resolving dimensionality complications for autism neur...
KodekX | Application Modernization Development
Big Data Technologies - Introduction.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Approach and Philosophy of On baking technology

Spatial data mining

  • 1. Spatial Data Mining Presented by-: Rajkumar jain M.tech (c.s.e) 1st year (2nd sem)
  • 2. Overview • What is spatial data. • What makes spatial data mining different. • Spatial data mining task • Spatial data properties • Clustering analysis • Trend analysis • Future parameter 2
  • 3. What is Spatial Data? • Objects of types: – points – lines – polygons – etc. Used in/for: GIS - Geographic Information Systems GPS - Global Positioning System Environmental studies etc …
  • 4. 4 Introduction • Spatial data mining is the process of discovering interesting, useful, non-trivial patterns from large spatial datasets – E.g. Determining hotspots: unusual locations. • Spatial Data Mining Tasks – Characteristics rule. – Discriminate rule. E.g. Comparison of price ranges of different geographical area. – Association rule-: we can associate the non spatial attribute to spatial attribute or spatial attribute to spatial attribute. – Clustering rule-: helpful to find outlier detection which is useful to find suspicious knowledge E.g. Group crime location.
  • 5. - Classification rule-: it defines whether a spatial entity belong to a particular class or how many classes will be classified. e.g. Remote sensed image based on spectrum and GIS data. - Trend detection-A trend is a temporal pattern in some time series data. Spatial trend is defined as consider a non spatial attribute which is the neighbour of a spatial data object. • Properties of Spatial Data – Spatial autocorrelation – Spatial heterogeneity – Implicit Spatial Relations 5
  • 6. Hetrogeneity of Spatial Data • Auto correlation. • Patterns usually have to be defined in the spatial attribute subspace and not in the complete attribute space. • Longitude and latitude (or other coordinate systems) are the glue that link different data collections together. • People are used to maps in GIS therefore, data mining results have to summarized on the top of maps.
  • 7. • Patterns not only refer to points, but can also refer to lines, or polygons or other higher order geometrical objects 7
  • 8. Autocorrelation • Items in a traditional data are independent of each other, – whereas properties of locations in a map are often “auto-correlated”. • First law of geography [Tobler]: – Everything is related to everything, but nearby things are more related than distant things. – People with similar backgrounds tend to live in the same area.
  • 9. – Economies of nearby regions tend to be similar. – Changes in temperature occur gradually over space. 9
  • 10. 10 Spatial Relations • Spatial databases do not store spatial relations explicitly – Additional functionality required to compute them • Three types of spatial relations specified by the OGC reference model – Distance relations • Euclidean distance between two spatial features – Direction relations • Ordering of spatial features in space – Topological relations • Characterise the type of intersection between spatial features
  • 11. 11 Distance relations • If dist is a distance function and c is some real number 1. dist(A,B)>c, 2. dist(A,B)<c and 3. dist(A,B)=c A B A B BA
  • 12. 12 Direction relations • If directions of B and C are required with respect to A • Define a representative point, rep(A) • rep(A) defines the origin of a virtual coordinate system • The quadrants and half planes define the direction relations • B can have two values {northeast, east} • Exact direction relation is northeast A C B rep(A) C north A B northeast A
  • 13. 13 Topological Relations • Topological relations describe how geometries intersect spatially. • Simple geometry types – Point, 0-dimension – Line, 1-dimension – Polygon, 2-dimension • Each geometry represented in terms of – boundary (B) – geometry of the lower dimension – interior (I) – points of the geometry when boundary is removed – exterior (E) – points not in the interior or boundary
  • 14. 14 DE-9IM • Topological relations are defined using any one of the following models – 4IM, four intersection model (only B and E considered) – 9IM, nine intersection models (B, I, and E) – DE-9IM, dimensionally extended 9 intersection model. • Dim is the dimension function
  • 15. 15 Example • Consider two polygons – A - POLYGON ((10 10, 15 0, 25 0, 30 10, 25 20, 15 20, 10 10)) – B - POLYGON ((20 10, 30 0, 40 10, 30 20, 20 10))
  • 16. 16 I(B) B(B) E(B) I(A) B(A) E(A) 9-Intersection Matrix of example geometries
  • 17. 17 DE-9IM for the example geometries I(B) B(B) E(B) I(A) 2 1 2 B(A) 1 0 1 E(A) 2 1 2
  • 18. 18 Relationships using DE-9IM • Different geometries may give rise to different numbers in the DE-9IM • For a specific type of relationship we are only interested in certain values in certain positions – That is, we are interested in patterns in the matrix than actual values • Actual values are replaced by wild cards – T: value is "true" - non empty - any dimension >= 0 – F: value is "false" - empty - dimension < 0 – *: Don't care what the value is – 0: value is exactly zero – 1: value is exactly one – 2: value is exactly two A over laps B I(B) B(B) E(B) I(A) T * T B(A) * * * E(A) T * *
  • 19. 19 Cluster analysis • Cluster analysis divides data into meaningful or useful groups (clusters). Cluster analysis is very useful in spatial databases. For example, by grouping feature vectors as clusters can be used to create thematic maps which are useful in geographic information systems. • CLUSTERING METHODS FOR SPATIAL DATA MINING 1. Partitioning Around Medoids (PAM)- PAM is similar to K- means algorithm. Like k- means algorithm, PAM divides data sets into groups but based on medoids. Whereas k- means is based on centroids. By using medoids, we can reduce the dissimilarity of objects within a cluster. In PAM, first calculate the medoid, then assigned the object to the nearest medoid, which forms a cluster. • let i be a object, vi be a cluster then i is nearer to medoids mvi than mw d(i ,mvi)<d(i, mw) here w=1,2,……..k. The k representative objects should minimize the objective function, which is the sum of the dissimilarities of all objects to their nearest medoid: Objective function = S d(i, mvi)
  • 20. • Clustering Large Applications(CLARA) • Compared to PAM, CLARA can deal with much larger data sets. Like PAM CLARA also finds objects that are centrally located in the clusters. The main problem with PAM is that it finds the entire dissimilarity matrix at a time. So for n objects, the space complexity of PAM becomes O(n2). But CLARA avoid this problem. CLARA accepts only the actual measurements (i.e.,. n ´ p data matrix). • CLARA assigns objects to clusters in the following way: • BUILD-step: Select k "centrally located" objects, to be used as initial medoids. Now the smallest possible average distance between the objects to their medoids are selected, that forms clusters. • SWAP-step: Try to decrease the average distance between the objects and the medoids. This is done by replacing representative objects. Now an object that does not belong to the sample is assigned to the nearest medoids. 20
  • 21. Trend analysis • Spatial trend-: it is regular change of one or more non spatial attribute. E.g. when we move away eastward from the cyber tower, the rental of residential house decrease approximately at the rate of 5% per km. • This trend is identified by neighborhood path starting from location O and regression analysis is performed on the respective attribute values for the object of a neighborhood path to describe the regularity of change. there are two algorithm to determine the global trend and local trend. • Global trend-: here if considering all the object on all path starting from O, the values for the specified attribute in general trend tend to increase or decrease with increasing distance or decreasing distance. 21
  • 22. • Local trend-: it consider the detect single path starting from an object O and having a certain trend. E.g. some trends may be positive while the other may be negative. 22
  • 23. Spatial trend detection • E.g. Let g be graph and O is an object in g and let a is a non special attribute on which we are detecting changing pattern while we move away from O in the neighborhood graph. • Here let be a filter which indicate subset of neighbor to be taken into consideration. • Let min_conf be real number. • Let min_length and max_length initialized with natural number and here difference of distance must be between these. 23
  • 24. Architecture of Spatial Data mining 24 HUMAN COMPUTER INTERACTION SYSTEM SPATIAL DATA MINING SYSTEM, DISCOVERABLE KNOWLEDGE DATA RELATED TO PROBLEM KNOWLEDGE BASE MANAGEMENT SYSTEM SPATIAL DATABASE SPATIAL DATA BASE MANAGEMENT SYSTEM DOMAIN KNOWLEDGE DATABASE
  • 25. Examples of Spatial Patterns • 1855 Asiatic Cholera in London. – A water pump identified as the source. • Crime hotspots for planning police patrol routes. • Affects of weather in the US caused by unusual warming of Pacific ocean (El Nino).
  • 26. 26 Future scope • Data mining in Spatial Object Oriented Databases: How can the object oriented approach be used to design a spatial database. Object Oriented Database may be a better choice for handling spatial data rather than traditional relational or extended relational models. For example, rectangles, polygons, and more complex spatial objects can be model naturally in object oriented database. • Parallel data mining can use because here it takes much computational time to process the spatial data.