SlideShare a Scribd company logo
1 of 30
Clustering in Data Mining
Lesson: Data Mining
Professor: Mrs M.Hosseini
Group Members: Mojtaba Derakhshandi,S.Mostafa Sayyedi,Mojtaba Sadeghi
Clustering in Data Mining
Our Group:
Mr. Mojtaba Derakhshandi:
*Introduction
*Example Usage of Clustering
*Two Dimensional Space
*Example
*Centroid
Mr. Mojtaba Sadeghi:
Mr. S.Mostafa Sayyedi:
*K-Means Clustering
*Example
*Finding the Best Set of Clusters
*Agglomerative Hierarchical Clustering
*Example
*Recording the Distance Between Clusters
Introduction
What is Clustering?
Clustering in Data Mining
Mojtaba Derakhshandi
Page: 1
Page 4
unlimited
Economics Application
We Might be Interested in Finding Countries
Whose Economies are Similar.
Financial Application
We Might Wish to Find Clusters of Companies
that Have Similar Financial Performance.
Marketing Application
We Might Wish to Find Clusters of Customers
With Similar Buying Behavior.
Medical Application
We Might Wish to Find Clusters of Patients With
Similar Symptoms.
Document Retrieval Application
We Might Wish to Find Clusters of Documents
With Related Content.
Crime Analysis Application
We Might Look for Clusters of High Volume Crimes Such
as Burglaries or Try to Cluster Together Much Rarer (But
Possibly Related) Crimes Such as Murders.
01
02
03
04
05
06
Example Usage of Clustering
Clustering in Data Mining
Mojtaba Derakhshandi
Page: 2
Two Dimensional Space
Clustering in Data Mining
Mojtaba Derakhshandi
Object for Clustering Clustering of Objects (First Version)
Page: 3
Two Dimensional Space
Clustering in Data Mining
Mojtaba Derakhshandi
Clustering of Objects (Second Version)
Page: 4
Page 7
unlimited
Centroid:
Clustering in Data Mining
Page: 5
‘Centre’ of a Cluster, Generally Called its Centroid.
So the Centroid of the Four Points (With 6 Attributes):
Would Be:
Mojtaba Derakhshandi
Page 8
unlimited
K-Means Clustering:
Clustering in Data Mining
The k-Means Clustering Algorithm
Page: 6
S.Mostafa Sayyedi
Page 9
unlimited
Example:
Clustering in Data Mining
S.Mostafa Sayyedi
Objects for Clustering (Attribute Values)
Page: 7
Page 10
unlimited
Example:
Clustering in Data Mining
S.Mostafa Sayyedi
Objects for Clustering
Page: 8
Step1: Choose a value of k
Page 11
unlimited
Example:
Clustering in Data Mining
S.Mostafa Sayyedi
Initial Choice of Centroids
Page: 9
Step2: Select k Objects in an Arbitrary Fashion. Use These as the Initial Set of k Centroids
Page 12
unlimited
Example:
Clustering in Data Mining
S.Mostafa Sayyedi
Objects for Clustering (Augmented)Page: 10
Step3: Assign Each of the Objects to the Cluster for Which it is Nearest to the Centroid
Page 13
unlimited
Example:
Clustering in Data Mining
S.Mostafa Sayyedi
Initial Clusters
Page: 11
Step4: Recalculate the Centroids of the k Clusters
Page 14
unlimited
Example:
Clustering in Data Mining
S.Mostafa Sayyedi
Centroids After First Iteration
Page: 12
Revised Clusters
Step 5: Repeat Steps 3 and 4 Until the Centroids no Longer Move
Page 15
unlimited
Example:
Clustering in Data Mining
S.Mostafa Sayyedi
Centroids After First Two Iterations
Page: 13
Third Set of Clusters
Page 16
unlimited
Finding the Best Set of Clusters:
Clustering in Data Mining
S.Mostafa Sayyedi
Value of Objective Function for Different Values of k
Page: 14
Page 17
unlimited
Clustering in Data Mining
Mojtaba Sadeghi
Agglomerative Hierarchical Clustering:
Agglomerative Hierarchical Clustering: Basic Algorithm
Page: 15
Page 18
unlimited
Example
Clustering in Data Mining
Mojtaba Sadeghi
Page: 16
Clustering in Data Mining
Mojtaba Sadeghi
Original Data (11 Objects) Clusters After Two Passes
Page: 17
Clustering in Data Mining
Mojtaba Sadeghi
Without Knowing the Precise Distances Between Each Pair of Objects, a Plausible Sequence of Events is as Follows.
Page: 18
Clustering in Data Mining
Mojtaba Sadeghi
A Possible Dendrogram CorrespondingPage: 19
Clustering in Data Mining
Mojtaba Sadeghi
Example of a Distance Matrix
Page: 20
Recording the Distance Between Clusters:
Clustering in Data Mining
Mojtaba Sadeghi
Distance Matrix After First Merger (Incomplete)
Page: 21
Distance Matrix After First Merger
Recording the Distance Between Clusters:
Clustering in Data Mining
Mojtaba Sadeghi
Distance Matrix After Two Merger (Incomplete)
Page: 22
Recording the Distance Between Clusters:
Distance Matrix After Two Merger
Clustering in Data Mining
Mojtaba Sadeghi
Distance Matrix After Three Mergers (Incomplete)
Page: 23
Recording the Distance Between Clusters:
Distance Matrix After Three Mergers
Clustering in Data Mining
Mojtaba Sadeghi
Distance Matrix After Four Mergers (Incomplete)
Page: 24
Recording the Distance Between Clusters:
Distance Matrix After Four Mergers
Clustering in Data Mining
Mojtaba Sadeghi
Dendrogram Corresponding to Hierarchical Clustering Process
Page: 25
Any Question?
Resource
Principles of Data Mining
Third Edition
Prof. Max Bramer
School of Computing
University of Portsmouth
Portsmouth, Hampshire, UK
Publisher: Springer
29
THANK YOU

More Related Content

What's hot

Let's downscale the semantic web !
Let's downscale the semantic web !Let's downscale the semantic web !
Let's downscale the semantic web !Christophe Guéret
 
MongoDB and Hadoop Handling for Big Data
MongoDB and Hadoop Handling for Big DataMongoDB and Hadoop Handling for Big Data
MongoDB and Hadoop Handling for Big DataMuhammad zubair
 
Big Data Paris v 9.0 I 'The Search Engine for Structured Data' - Emmanuel Dau...
Big Data Paris v 9.0 I 'The Search Engine for Structured Data' - Emmanuel Dau...Big Data Paris v 9.0 I 'The Search Engine for Structured Data' - Emmanuel Dau...
Big Data Paris v 9.0 I 'The Search Engine for Structured Data' - Emmanuel Dau...Dataconomy Media
 
Exposing the data from NARCIS with VIVO
Exposing the data from NARCIS with VIVOExposing the data from NARCIS with VIVO
Exposing the data from NARCIS with VIVOChristophe Guéret
 
Introduction To MongoDB
Introduction To MongoDBIntroduction To MongoDB
Introduction To MongoDBYubraj Ghimire
 
ODI Summit 2016 - Linked Open Data at Springer Nature
ODI Summit 2016 - Linked Open Data at Springer NatureODI Summit 2016 - Linked Open Data at Springer Nature
ODI Summit 2016 - Linked Open Data at Springer NatureMichele Pasin
 
What's So Unique About a Columnar Database?
What's So Unique About a Columnar Database?What's So Unique About a Columnar Database?
What's So Unique About a Columnar Database?FlyData Inc.
 
It Don’t Mean a Thing If It Ain’t Got Semantics
It Don’t Mean a Thing If It Ain’t Got SemanticsIt Don’t Mean a Thing If It Ain’t Got Semantics
It Don’t Mean a Thing If It Ain’t Got SemanticsOntotext
 
Linked Data Experiences at Springer Nature
Linked Data Experiences at Springer NatureLinked Data Experiences at Springer Nature
Linked Data Experiences at Springer NatureMichele Pasin
 
SC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport data
SC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport dataSC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport data
SC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport dataBigData_Europe
 
Introduction to Redis Data Structures: Hashes
Introduction to Redis Data Structures: HashesIntroduction to Redis Data Structures: Hashes
Introduction to Redis Data Structures: HashesScaleGrid.io
 
Web search - Political news analysis tool
Web search - Political news analysis toolWeb search - Political news analysis tool
Web search - Political news analysis toolJustin Verhulst
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphIoan Toma
 
Linked data experience at Macmillan: Building discovery services for scientif...
Linked data experience at Macmillan: Building discovery services for scientif...Linked data experience at Macmillan: Building discovery services for scientif...
Linked data experience at Macmillan: Building discovery services for scientif...Michele Pasin
 
Pitch Reactome2json_ld @ swat4hcls 2020
Pitch Reactome2json_ld @ swat4hcls 2020Pitch Reactome2json_ld @ swat4hcls 2020
Pitch Reactome2json_ld @ swat4hcls 2020François Belleau
 
Mining the Web of Linked Data with RapidMiner
Mining the Web of Linked Data with RapidMinerMining the Web of Linked Data with RapidMiner
Mining the Web of Linked Data with RapidMinerHeiko Paulheim
 
Discovering Related Data Sources in Data Portals
Discovering Related Data Sources in Data PortalsDiscovering Related Data Sources in Data Portals
Discovering Related Data Sources in Data PortalsPeter Haase
 

What's hot (20)

Let's downscale the semantic web !
Let's downscale the semantic web !Let's downscale the semantic web !
Let's downscale the semantic web !
 
MongoDB and Hadoop Handling for Big Data
MongoDB and Hadoop Handling for Big DataMongoDB and Hadoop Handling for Big Data
MongoDB and Hadoop Handling for Big Data
 
Big Data Paris v 9.0 I 'The Search Engine for Structured Data' - Emmanuel Dau...
Big Data Paris v 9.0 I 'The Search Engine for Structured Data' - Emmanuel Dau...Big Data Paris v 9.0 I 'The Search Engine for Structured Data' - Emmanuel Dau...
Big Data Paris v 9.0 I 'The Search Engine for Structured Data' - Emmanuel Dau...
 
Exposing the data from NARCIS with VIVO
Exposing the data from NARCIS with VIVOExposing the data from NARCIS with VIVO
Exposing the data from NARCIS with VIVO
 
Introduction To MongoDB
Introduction To MongoDBIntroduction To MongoDB
Introduction To MongoDB
 
ODI Summit 2016 - Linked Open Data at Springer Nature
ODI Summit 2016 - Linked Open Data at Springer NatureODI Summit 2016 - Linked Open Data at Springer Nature
ODI Summit 2016 - Linked Open Data at Springer Nature
 
What's So Unique About a Columnar Database?
What's So Unique About a Columnar Database?What's So Unique About a Columnar Database?
What's So Unique About a Columnar Database?
 
It Don’t Mean a Thing If It Ain’t Got Semantics
It Don’t Mean a Thing If It Ain’t Got SemanticsIt Don’t Mean a Thing If It Ain’t Got Semantics
It Don’t Mean a Thing If It Ain’t Got Semantics
 
Pandas
PandasPandas
Pandas
 
Linked Data Experiences at Springer Nature
Linked Data Experiences at Springer NatureLinked Data Experiences at Springer Nature
Linked Data Experiences at Springer Nature
 
SC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport data
SC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport dataSC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport data
SC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport data
 
Introduction to Redis Data Structures: Hashes
Introduction to Redis Data Structures: HashesIntroduction to Redis Data Structures: Hashes
Introduction to Redis Data Structures: Hashes
 
Web search - Political news analysis tool
Web search - Political news analysis toolWeb search - Political news analysis tool
Web search - Political news analysis tool
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge Graph
 
Open data and linked data
Open data and linked dataOpen data and linked data
Open data and linked data
 
Linked data experience at Macmillan: Building discovery services for scientif...
Linked data experience at Macmillan: Building discovery services for scientif...Linked data experience at Macmillan: Building discovery services for scientif...
Linked data experience at Macmillan: Building discovery services for scientif...
 
Pitch Reactome2json_ld @ swat4hcls 2020
Pitch Reactome2json_ld @ swat4hcls 2020Pitch Reactome2json_ld @ swat4hcls 2020
Pitch Reactome2json_ld @ swat4hcls 2020
 
Mining the Web of Linked Data with RapidMiner
Mining the Web of Linked Data with RapidMinerMining the Web of Linked Data with RapidMiner
Mining the Web of Linked Data with RapidMiner
 
Minning WWW
Minning WWWMinning WWW
Minning WWW
 
Discovering Related Data Sources in Data Portals
Discovering Related Data Sources in Data PortalsDiscovering Related Data Sources in Data Portals
Discovering Related Data Sources in Data Portals
 

Similar to Clustering in Data Mining

Data Mining and the Web_Past_Present and Future
Data Mining and the Web_Past_Present and FutureData Mining and the Web_Past_Present and Future
Data Mining and the Web_Past_Present and Futurefeiwin
 
Data mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationData mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationDr. Abdul Ahad Abro
 
Mining internal sources of data
Mining internal sources of dataMining internal sources of data
Mining internal sources of datanomanbhutta
 
Introduction-to-Knowledge Discovery in Database
Introduction-to-Knowledge Discovery in DatabaseIntroduction-to-Knowledge Discovery in Database
Introduction-to-Knowledge Discovery in DatabaseKartik Kalpande Patil
 
Applied Data Science Course Part 1: Concepts & your first ML model
Applied Data Science Course Part 1: Concepts & your first ML modelApplied Data Science Course Part 1: Concepts & your first ML model
Applied Data Science Course Part 1: Concepts & your first ML modelDataiku
 
An Efficient Compressed Data Structure Based Method for Frequent Item Set Mining
An Efficient Compressed Data Structure Based Method for Frequent Item Set MiningAn Efficient Compressed Data Structure Based Method for Frequent Item Set Mining
An Efficient Compressed Data Structure Based Method for Frequent Item Set Miningijsrd.com
 
Introduction to Data Mining
Introduction to Data Mining Introduction to Data Mining
Introduction to Data Mining Sushil Kulkarni
 
MS SQL SERVER: Introduction To Datamining Suing Sql Server
MS SQL SERVER: Introduction To Datamining Suing Sql ServerMS SQL SERVER: Introduction To Datamining Suing Sql Server
MS SQL SERVER: Introduction To Datamining Suing Sql Serversqlserver content
 
MS Sql Server: Introduction To Datamining Suing Sql Server
MS Sql Server: Introduction To Datamining Suing Sql ServerMS Sql Server: Introduction To Datamining Suing Sql Server
MS Sql Server: Introduction To Datamining Suing Sql ServerDataminingTools Inc
 
Data Mining and Data Warehousing (MAKAUT)
Data Mining and Data Warehousing (MAKAUT)Data Mining and Data Warehousing (MAKAUT)
Data Mining and Data Warehousing (MAKAUT)Bikramjit Sarkar, Ph.D.
 
What is Data Mining.pdf
What is Data Mining.pdfWhat is Data Mining.pdf
What is Data Mining.pdfchanduvarma019
 
Importance of Data Mining
Importance of Data MiningImportance of Data Mining
Importance of Data MiningScottperrone
 
Chapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & KamberChapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & Kambererror007
 
DMML1_overview.ppt
DMML1_overview.pptDMML1_overview.ppt
DMML1_overview.pptbutest
 

Similar to Clustering in Data Mining (20)

Data Mining and the Web_Past_Present and Future
Data Mining and the Web_Past_Present and FutureData Mining and the Web_Past_Present and Future
Data Mining and the Web_Past_Present and Future
 
Clustering - K-Means, DBSCAN
Clustering - K-Means, DBSCANClustering - K-Means, DBSCAN
Clustering - K-Means, DBSCAN
 
Data mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationData mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, Classification
 
Mining internal sources of data
Mining internal sources of dataMining internal sources of data
Mining internal sources of data
 
Data mining
Data miningData mining
Data mining
 
Data mining
Data miningData mining
Data mining
 
Introduction-to-Knowledge Discovery in Database
Introduction-to-Knowledge Discovery in DatabaseIntroduction-to-Knowledge Discovery in Database
Introduction-to-Knowledge Discovery in Database
 
Tf gsds
Tf gsdsTf gsds
Tf gsds
 
Applied Data Science Course Part 1: Concepts & your first ML model
Applied Data Science Course Part 1: Concepts & your first ML modelApplied Data Science Course Part 1: Concepts & your first ML model
Applied Data Science Course Part 1: Concepts & your first ML model
 
An Efficient Compressed Data Structure Based Method for Frequent Item Set Mining
An Efficient Compressed Data Structure Based Method for Frequent Item Set MiningAn Efficient Compressed Data Structure Based Method for Frequent Item Set Mining
An Efficient Compressed Data Structure Based Method for Frequent Item Set Mining
 
Introduction to Data Mining
Introduction to Data Mining Introduction to Data Mining
Introduction to Data Mining
 
Data warehousing and Data mining
Data warehousing and Data mining Data warehousing and Data mining
Data warehousing and Data mining
 
MS SQL SERVER: Introduction To Datamining Suing Sql Server
MS SQL SERVER: Introduction To Datamining Suing Sql ServerMS SQL SERVER: Introduction To Datamining Suing Sql Server
MS SQL SERVER: Introduction To Datamining Suing Sql Server
 
MS Sql Server: Introduction To Datamining Suing Sql Server
MS Sql Server: Introduction To Datamining Suing Sql ServerMS Sql Server: Introduction To Datamining Suing Sql Server
MS Sql Server: Introduction To Datamining Suing Sql Server
 
Data Mining and Data Warehousing (MAKAUT)
Data Mining and Data Warehousing (MAKAUT)Data Mining and Data Warehousing (MAKAUT)
Data Mining and Data Warehousing (MAKAUT)
 
Data mining
Data miningData mining
Data mining
 
What is Data Mining.pdf
What is Data Mining.pdfWhat is Data Mining.pdf
What is Data Mining.pdf
 
Importance of Data Mining
Importance of Data MiningImportance of Data Mining
Importance of Data Mining
 
Chapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & KamberChapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
 
DMML1_overview.ppt
DMML1_overview.pptDMML1_overview.ppt
DMML1_overview.ppt
 

More from S.Mostafa Sayyedi

Fog Computing and the Internet of Things
Fog Computing and the Internet of ThingsFog Computing and the Internet of Things
Fog Computing and the Internet of ThingsS.Mostafa Sayyedi
 
Using process mining and model driven engineering to enhance security of web ...
Using process mining and model driven engineering to enhance security of web ...Using process mining and model driven engineering to enhance security of web ...
Using process mining and model driven engineering to enhance security of web ...S.Mostafa Sayyedi
 
Introducing various linux distributions for various purposes
Introducing various linux distributions for various purposesIntroducing various linux distributions for various purposes
Introducing various linux distributions for various purposesS.Mostafa Sayyedi
 
Steganography in Open Source Enviroment
Steganography in Open Source EnviromentSteganography in Open Source Enviroment
Steganography in Open Source EnviromentS.Mostafa Sayyedi
 

More from S.Mostafa Sayyedi (7)

Fog Computing and the Internet of Things
Fog Computing and the Internet of ThingsFog Computing and the Internet of Things
Fog Computing and the Internet of Things
 
Using process mining and model driven engineering to enhance security of web ...
Using process mining and model driven engineering to enhance security of web ...Using process mining and model driven engineering to enhance security of web ...
Using process mining and model driven engineering to enhance security of web ...
 
Spectre and Meltdown
Spectre and MeltdownSpectre and Meltdown
Spectre and Meltdown
 
Introducing various linux distributions for various purposes
Introducing various linux distributions for various purposesIntroducing various linux distributions for various purposes
Introducing various linux distributions for various purposes
 
Scrum doc
Scrum docScrum doc
Scrum doc
 
Scrum Presentation
Scrum PresentationScrum Presentation
Scrum Presentation
 
Steganography in Open Source Enviroment
Steganography in Open Source EnviromentSteganography in Open Source Enviroment
Steganography in Open Source Enviroment
 

Recently uploaded

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 

Recently uploaded (20)

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 

Clustering in Data Mining

  • 1. Clustering in Data Mining Lesson: Data Mining Professor: Mrs M.Hosseini Group Members: Mojtaba Derakhshandi,S.Mostafa Sayyedi,Mojtaba Sadeghi
  • 2. Clustering in Data Mining Our Group: Mr. Mojtaba Derakhshandi: *Introduction *Example Usage of Clustering *Two Dimensional Space *Example *Centroid Mr. Mojtaba Sadeghi: Mr. S.Mostafa Sayyedi: *K-Means Clustering *Example *Finding the Best Set of Clusters *Agglomerative Hierarchical Clustering *Example *Recording the Distance Between Clusters
  • 3. Introduction What is Clustering? Clustering in Data Mining Mojtaba Derakhshandi Page: 1
  • 4. Page 4 unlimited Economics Application We Might be Interested in Finding Countries Whose Economies are Similar. Financial Application We Might Wish to Find Clusters of Companies that Have Similar Financial Performance. Marketing Application We Might Wish to Find Clusters of Customers With Similar Buying Behavior. Medical Application We Might Wish to Find Clusters of Patients With Similar Symptoms. Document Retrieval Application We Might Wish to Find Clusters of Documents With Related Content. Crime Analysis Application We Might Look for Clusters of High Volume Crimes Such as Burglaries or Try to Cluster Together Much Rarer (But Possibly Related) Crimes Such as Murders. 01 02 03 04 05 06 Example Usage of Clustering Clustering in Data Mining Mojtaba Derakhshandi Page: 2
  • 5. Two Dimensional Space Clustering in Data Mining Mojtaba Derakhshandi Object for Clustering Clustering of Objects (First Version) Page: 3
  • 6. Two Dimensional Space Clustering in Data Mining Mojtaba Derakhshandi Clustering of Objects (Second Version) Page: 4
  • 7. Page 7 unlimited Centroid: Clustering in Data Mining Page: 5 ‘Centre’ of a Cluster, Generally Called its Centroid. So the Centroid of the Four Points (With 6 Attributes): Would Be: Mojtaba Derakhshandi
  • 8. Page 8 unlimited K-Means Clustering: Clustering in Data Mining The k-Means Clustering Algorithm Page: 6 S.Mostafa Sayyedi
  • 9. Page 9 unlimited Example: Clustering in Data Mining S.Mostafa Sayyedi Objects for Clustering (Attribute Values) Page: 7
  • 10. Page 10 unlimited Example: Clustering in Data Mining S.Mostafa Sayyedi Objects for Clustering Page: 8 Step1: Choose a value of k
  • 11. Page 11 unlimited Example: Clustering in Data Mining S.Mostafa Sayyedi Initial Choice of Centroids Page: 9 Step2: Select k Objects in an Arbitrary Fashion. Use These as the Initial Set of k Centroids
  • 12. Page 12 unlimited Example: Clustering in Data Mining S.Mostafa Sayyedi Objects for Clustering (Augmented)Page: 10 Step3: Assign Each of the Objects to the Cluster for Which it is Nearest to the Centroid
  • 13. Page 13 unlimited Example: Clustering in Data Mining S.Mostafa Sayyedi Initial Clusters Page: 11 Step4: Recalculate the Centroids of the k Clusters
  • 14. Page 14 unlimited Example: Clustering in Data Mining S.Mostafa Sayyedi Centroids After First Iteration Page: 12 Revised Clusters Step 5: Repeat Steps 3 and 4 Until the Centroids no Longer Move
  • 15. Page 15 unlimited Example: Clustering in Data Mining S.Mostafa Sayyedi Centroids After First Two Iterations Page: 13 Third Set of Clusters
  • 16. Page 16 unlimited Finding the Best Set of Clusters: Clustering in Data Mining S.Mostafa Sayyedi Value of Objective Function for Different Values of k Page: 14
  • 17. Page 17 unlimited Clustering in Data Mining Mojtaba Sadeghi Agglomerative Hierarchical Clustering: Agglomerative Hierarchical Clustering: Basic Algorithm Page: 15
  • 18. Page 18 unlimited Example Clustering in Data Mining Mojtaba Sadeghi Page: 16
  • 19. Clustering in Data Mining Mojtaba Sadeghi Original Data (11 Objects) Clusters After Two Passes Page: 17
  • 20. Clustering in Data Mining Mojtaba Sadeghi Without Knowing the Precise Distances Between Each Pair of Objects, a Plausible Sequence of Events is as Follows. Page: 18
  • 21. Clustering in Data Mining Mojtaba Sadeghi A Possible Dendrogram CorrespondingPage: 19
  • 22. Clustering in Data Mining Mojtaba Sadeghi Example of a Distance Matrix Page: 20 Recording the Distance Between Clusters:
  • 23. Clustering in Data Mining Mojtaba Sadeghi Distance Matrix After First Merger (Incomplete) Page: 21 Distance Matrix After First Merger Recording the Distance Between Clusters:
  • 24. Clustering in Data Mining Mojtaba Sadeghi Distance Matrix After Two Merger (Incomplete) Page: 22 Recording the Distance Between Clusters: Distance Matrix After Two Merger
  • 25. Clustering in Data Mining Mojtaba Sadeghi Distance Matrix After Three Mergers (Incomplete) Page: 23 Recording the Distance Between Clusters: Distance Matrix After Three Mergers
  • 26. Clustering in Data Mining Mojtaba Sadeghi Distance Matrix After Four Mergers (Incomplete) Page: 24 Recording the Distance Between Clusters: Distance Matrix After Four Mergers
  • 27. Clustering in Data Mining Mojtaba Sadeghi Dendrogram Corresponding to Hierarchical Clustering Process Page: 25
  • 29. Resource Principles of Data Mining Third Edition Prof. Max Bramer School of Computing University of Portsmouth Portsmouth, Hampshire, UK Publisher: Springer 29

Editor's Notes

  1. Section Break “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  2. Book Option  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  3. INTRODUCTION page  “All Content is editable For edit Footer or visible content you must getting to the Master Slide -> click “VIEW” tab -> in the “Master Views” group, click “Slide Master”. (–and- or you can changeyour logo on there”)
  4. INTRODUCTION page  “All Content is editable For edit Footer or visible content you must getting to the Master Slide -> click “VIEW” tab -> in the “Master Views” group, click “Slide Master”. (–and- or you can changeyour logo on there”)
  5. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  6. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  7. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  8. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  9. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  10. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  11. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  12. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  13. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  14. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  15. Timeline page  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) NOTE: Please ungroup the object/shape before, if you want to change an individual shape. How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”
  16. Hand Attractive  “All Content is editable How Edit/Fill Shape Color -> “Right Click” on the Object, select “Format Shape”, choose “Fill” a color from color pallete (bucket icon-on the right side on New Powerpoint) How to Group an Object/Shape -> “Right Click” on the Object (More than 1), select “Group” > “Group” How to Ungroup an Object/Shape -> “Right Click” on the Object, select “Group” > “Ungroup”