SlideShare a Scribd company logo
Contents
Unsupervised Learning
Beatrice van Eden
Machine Learning Reading group
Introductory Theme
2
Contents
 Introduction
 Unsupervised Learning concepts
 Clustering the idea
 Basic clustering problem
 Algorithms
 Single linkage clustering (SLC)
 Issues with SLC
 K-means clustering
 K-means in Euclidean space
 K-means as optimization
 Soft clustering
 Expectation Maximization (EM)
 Clustering properties and impossibilities
Charles Isbell Michael Littman
Andrew Ng
https://www.coursera.org/learn/machine-learning/home/info
https://www.udacity.com/course/machine-learning-
supervised-learning--ud675
3
Introduction
• Supervised Learning Function Approximation
• Supervised Learning
• Classification – Female, Male (discrete predictions).
• Regression – Temperature (continuous predictions).
Function
Approximation
1,2,3,4,5,6… 1,4,9,16,25,36…
Input Output
?
4
Why Unsupervised Learning?
• Unsupervised Learning Pre-processing
• Try to find hidden structure
Finding Structure
Function
Approximation
Pixels Summaries Labels
UL SL
5
Introduction
• Optimization
• SL - Label data well
• UL - Cluster scores well
• Data is important
• Algorithms are important
6
Clustering
• Clustering is the task of grouping a set of objects in
such a way that objects in the same group are more
similar to each other than to those in other
groups/clusters.
7
Clustering
• Basic clustering problem
• Given: set of objects 𝑋
Inter-object distances D(X, Y) = 𝐷 𝑌, 𝑋 , 𝑋, 𝑌𝜖𝑋
• Output: Partition 𝑃 𝐷(𝑋) = 𝑃 𝐷(𝑌) if 𝑋 and 𝑌 in same
cluster
• Extreme clustering algorithm: ∀ 𝑋 𝑃 𝐷(𝑋) = 1, ∀ 𝑋 𝑃 𝐷(𝑋) = X
(Humans), (Each Unique)
8
Clustering
• Single linkage clustering (SLC)
• Consider each object a cluster (n objects)
• Define inter cluster distance as the distance between
the closest two points in the two clusters
• Merge two closest clusters
• Repeat n-k times to make n clusters.
1 6542 3
9
Clustering
• Issues with SLC
K=2
X
10
Clustering
• K-means clustering
• Pick k “centres” (at random)
• Each centre “claims” its closest points
• Recompute the centre by averaging the clustered
points
• Repeat until convergence (does it always converge and
give good answers)
11
Clustering
• K-means in Euclidean space
• 𝐴 = 𝑃 𝑡 𝑋 : Partition/Cluster of objects 𝑋
• 𝐶𝑖 : Set of all points in cluster 𝑖 = 𝑋 𝑠. 𝑡. 𝑃 𝑋 = 𝑖
• 𝐶𝑒𝑛𝑡𝑒𝑟𝑖 = 𝑦𝜖𝐶𝑖
𝑦
𝐶 𝑖
• 𝐶𝑒𝑛𝑡𝑒𝑟𝑖 → 𝑃 𝑡 = 𝑎𝑟𝑔𝑚𝑖𝑛 𝑋𝐶𝑒𝑛𝑡𝑒𝑟𝑖
2
𝐶𝑒𝑛𝑡𝑒𝑟𝑖 =
𝑦𝜖𝐶𝑖
𝑦
𝐶 𝑖
t
t
t
t t-1
2
t
t
12
Clustering
• K-means as optimization
• Configurations: Centre / Partition
• Scores: 𝐸(𝑃, 𝐶𝑒𝑛𝑡𝑒𝑟) = 𝑋 𝐶𝑒𝑛𝑡𝑒𝑟 𝑃 𝑋 − 𝑋
2
• Neighbourhood: 𝑃, 𝐶𝑒𝑛𝑡𝑒𝑟 = 𝑃1, 𝐶𝑒𝑛𝑡𝑒𝑟 ∪ 𝑃, 𝐶𝑒𝑛𝑡𝑒𝑟1
• Optimisation
• Hillclimbing, Genetic algorithms, Simulated Annealing
2
13
Clustering
• Soft clustering
• If k=2 what happens to d?
• Can d be shared between clusters?
• Assume the data was generated by
– Select one of k Gaussians distributions, know the variance,
sampled from uniformly
– Sample Xi from that Gaussian
– Repeat n times
• Task: find a hypothesis h=<µ1,...,µk> (means of distribution)
that maximizes the probability of the data
14
Clustering
• Expectation Maximization (EM)
15
Clustering
• Clustering properties
• Richness: For any assignment of objects to clusters there is
some distance matrix D such that PD returns that cluster
• Scale-invariance: Scaling distances by a positive value does
not change the clustering
• Consistency: Shrinking intra cluster distances and
expanding inter cluster distances does not change the
cluster
• Impossibility theorem
• No clustering algorithm can achieve all three properties
16
Conclusion
• Unsupervised learning – Finding structure in the data
Thank you
Name (email@csir.co.za)

More Related Content

What's hot

Deep Implicit Layers: Learning Structured Problems with Neural Networks
Deep Implicit Layers: Learning Structured Problems with Neural NetworksDeep Implicit Layers: Learning Structured Problems with Neural Networks
Deep Implicit Layers: Learning Structured Problems with Neural Networks
Sangwoo Mo
 
Introduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural NetworksIntroduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural Networks
Miles Cranmer
 
Training machine learning knn 2017
Training machine learning knn 2017Training machine learning knn 2017
Training machine learning knn 2017
Iwan Sofana
 
Learning a nonlinear embedding by preserving class neibourhood structure 최종
Learning a nonlinear embedding by preserving class neibourhood structure   최종Learning a nonlinear embedding by preserving class neibourhood structure   최종
Learning a nonlinear embedding by preserving class neibourhood structure 최종
WooSung Choi
 
Attention Is All You Need
Attention Is All You NeedAttention Is All You Need
Attention Is All You Need
Illia Polosukhin
 
Sharpness-aware minimization (SAM)
Sharpness-aware minimization (SAM)Sharpness-aware minimization (SAM)
Sharpness-aware minimization (SAM)
Sangwoo Mo
 
Deep learning and image analytics using Python by Dr Sanparit
Deep learning and image analytics using Python by Dr SanparitDeep learning and image analytics using Python by Dr Sanparit
Deep learning and image analytics using Python by Dr Sanparit
BAINIDA
 
Deep Learning Theory Seminar (Chap 1-2, part 1)
Deep Learning Theory Seminar (Chap 1-2, part 1)Deep Learning Theory Seminar (Chap 1-2, part 1)
Deep Learning Theory Seminar (Chap 1-2, part 1)
Sangwoo Mo
 
Neural Networks. Overview
Neural Networks. OverviewNeural Networks. Overview
Neural Networks. Overview
Oleksandr Baiev
 
Score-Based Generative Modeling through Stochastic Differential Equations
Score-Based Generative Modeling through Stochastic Differential EquationsScore-Based Generative Modeling through Stochastic Differential Equations
Score-Based Generative Modeling through Stochastic Differential Equations
Sangwoo Mo
 
Face recognition and deep learning โดย ดร. สรรพฤทธิ์ มฤคทัต NECTEC
Face recognition and deep learning  โดย ดร. สรรพฤทธิ์ มฤคทัต NECTECFace recognition and deep learning  โดย ดร. สรรพฤทธิ์ มฤคทัต NECTEC
Face recognition and deep learning โดย ดร. สรรพฤทธิ์ มฤคทัต NECTEC
BAINIDA
 
Ranking and Diversity in Recommendations - RecSys Stammtisch at SoundCloud, B...
Ranking and Diversity in Recommendations - RecSys Stammtisch at SoundCloud, B...Ranking and Diversity in Recommendations - RecSys Stammtisch at SoundCloud, B...
Ranking and Diversity in Recommendations - RecSys Stammtisch at SoundCloud, B...
Alexandros Karatzoglou
 
Machine Learning - Neural Networks - Perceptron
Machine Learning - Neural Networks - PerceptronMachine Learning - Neural Networks - Perceptron
Machine Learning - Neural Networks - Perceptron
Andrew Ferlitsch
 
Exponent lecture final
Exponent lecture finalExponent lecture final
Exponent lecture final
KobeBradford
 
Introduction to Diffusion Models
Introduction to Diffusion ModelsIntroduction to Diffusion Models
Introduction to Diffusion Models
Sangwoo Mo
 
Meta-Learning with Implicit Gradients
Meta-Learning with Implicit GradientsMeta-Learning with Implicit Gradients
Meta-Learning with Implicit Gradients
Sangwoo Mo
 
Deep Learning for Computer Vision: Backward Propagation (UPC 2016)
Deep Learning for Computer Vision: Backward Propagation (UPC 2016)Deep Learning for Computer Vision: Backward Propagation (UPC 2016)
Deep Learning for Computer Vision: Backward Propagation (UPC 2016)
Universitat Politècnica de Catalunya
 
Efficiency gains in inversion based interpretation through computer
Efficiency gains in inversion based interpretation through computerEfficiency gains in inversion based interpretation through computer
Efficiency gains in inversion based interpretation through computer
Dustin Dewett
 
2021 03-02-transformer interpretability
2021 03-02-transformer interpretability2021 03-02-transformer interpretability
2021 03-02-transformer interpretability
JAEMINJEONG5
 
Lecture 8: Decision Trees & k-Nearest Neighbors
Lecture 8: Decision Trees & k-Nearest NeighborsLecture 8: Decision Trees & k-Nearest Neighbors
Lecture 8: Decision Trees & k-Nearest Neighbors
Marina Santini
 

What's hot (20)

Deep Implicit Layers: Learning Structured Problems with Neural Networks
Deep Implicit Layers: Learning Structured Problems with Neural NetworksDeep Implicit Layers: Learning Structured Problems with Neural Networks
Deep Implicit Layers: Learning Structured Problems with Neural Networks
 
Introduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural NetworksIntroduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural Networks
 
Training machine learning knn 2017
Training machine learning knn 2017Training machine learning knn 2017
Training machine learning knn 2017
 
Learning a nonlinear embedding by preserving class neibourhood structure 최종
Learning a nonlinear embedding by preserving class neibourhood structure   최종Learning a nonlinear embedding by preserving class neibourhood structure   최종
Learning a nonlinear embedding by preserving class neibourhood structure 최종
 
Attention Is All You Need
Attention Is All You NeedAttention Is All You Need
Attention Is All You Need
 
Sharpness-aware minimization (SAM)
Sharpness-aware minimization (SAM)Sharpness-aware minimization (SAM)
Sharpness-aware minimization (SAM)
 
Deep learning and image analytics using Python by Dr Sanparit
Deep learning and image analytics using Python by Dr SanparitDeep learning and image analytics using Python by Dr Sanparit
Deep learning and image analytics using Python by Dr Sanparit
 
Deep Learning Theory Seminar (Chap 1-2, part 1)
Deep Learning Theory Seminar (Chap 1-2, part 1)Deep Learning Theory Seminar (Chap 1-2, part 1)
Deep Learning Theory Seminar (Chap 1-2, part 1)
 
Neural Networks. Overview
Neural Networks. OverviewNeural Networks. Overview
Neural Networks. Overview
 
Score-Based Generative Modeling through Stochastic Differential Equations
Score-Based Generative Modeling through Stochastic Differential EquationsScore-Based Generative Modeling through Stochastic Differential Equations
Score-Based Generative Modeling through Stochastic Differential Equations
 
Face recognition and deep learning โดย ดร. สรรพฤทธิ์ มฤคทัต NECTEC
Face recognition and deep learning  โดย ดร. สรรพฤทธิ์ มฤคทัต NECTECFace recognition and deep learning  โดย ดร. สรรพฤทธิ์ มฤคทัต NECTEC
Face recognition and deep learning โดย ดร. สรรพฤทธิ์ มฤคทัต NECTEC
 
Ranking and Diversity in Recommendations - RecSys Stammtisch at SoundCloud, B...
Ranking and Diversity in Recommendations - RecSys Stammtisch at SoundCloud, B...Ranking and Diversity in Recommendations - RecSys Stammtisch at SoundCloud, B...
Ranking and Diversity in Recommendations - RecSys Stammtisch at SoundCloud, B...
 
Machine Learning - Neural Networks - Perceptron
Machine Learning - Neural Networks - PerceptronMachine Learning - Neural Networks - Perceptron
Machine Learning - Neural Networks - Perceptron
 
Exponent lecture final
Exponent lecture finalExponent lecture final
Exponent lecture final
 
Introduction to Diffusion Models
Introduction to Diffusion ModelsIntroduction to Diffusion Models
Introduction to Diffusion Models
 
Meta-Learning with Implicit Gradients
Meta-Learning with Implicit GradientsMeta-Learning with Implicit Gradients
Meta-Learning with Implicit Gradients
 
Deep Learning for Computer Vision: Backward Propagation (UPC 2016)
Deep Learning for Computer Vision: Backward Propagation (UPC 2016)Deep Learning for Computer Vision: Backward Propagation (UPC 2016)
Deep Learning for Computer Vision: Backward Propagation (UPC 2016)
 
Efficiency gains in inversion based interpretation through computer
Efficiency gains in inversion based interpretation through computerEfficiency gains in inversion based interpretation through computer
Efficiency gains in inversion based interpretation through computer
 
2021 03-02-transformer interpretability
2021 03-02-transformer interpretability2021 03-02-transformer interpretability
2021 03-02-transformer interpretability
 
Lecture 8: Decision Trees & k-Nearest Neighbors
Lecture 8: Decision Trees & k-Nearest NeighborsLecture 8: Decision Trees & k-Nearest Neighbors
Lecture 8: Decision Trees & k-Nearest Neighbors
 

Viewers also liked

Wits presentation 1_21042015
Wits presentation 1_21042015Wits presentation 1_21042015
Wits presentation 1_21042015
Beatrice van Eden
 
Wits presentation 3_02062015
Wits presentation 3_02062015Wits presentation 3_02062015
Wits presentation 3_02062015
Beatrice van Eden
 
Mid winter final
Mid winter finalMid winter final
Mid winter final
Beatrice van Eden
 
CHAMP: a Bespoke Integrated System for Mobile Manipulation
CHAMP: a Bespoke Integrated System for Mobile ManipulationCHAMP: a Bespoke Integrated System for Mobile Manipulation
CHAMP: a Bespoke Integrated System for Mobile Manipulation
Beatrice van Eden
 
Machine learning group - Practical examples
Machine learning group - Practical examplesMachine learning group - Practical examples
Machine learning group - Practical examples
Beatrice van Eden
 
Wits presentation 5_30062015
Wits presentation 5_30062015Wits presentation 5_30062015
Wits presentation 5_30062015
Beatrice van Eden
 
Wits presentation 2_19052015
Wits presentation 2_19052015Wits presentation 2_19052015
Wits presentation 2_19052015
Beatrice van Eden
 
Kernal methods part2
Kernal methods part2Kernal methods part2
Kernal methods part2
Beatrice van Eden
 
Wits presentation 6_28072015
Wits presentation 6_28072015Wits presentation 6_28072015
Wits presentation 6_28072015
Beatrice van Eden
 
Wits presentation 4_17062015
Wits presentation 4_17062015Wits presentation 4_17062015
Wits presentation 4_17062015
Beatrice van Eden
 
Probability distributionv1
Probability distributionv1Probability distributionv1
Probability distributionv1
Beatrice van Eden
 
Python and Machine Learning
Python and Machine LearningPython and Machine Learning
Python and Machine Learning
trygub
 
Introduction to Deep Learning with Python
Introduction to Deep Learning with PythonIntroduction to Deep Learning with Python
Introduction to Deep Learning with Python
indico data
 
Deep Learning through Examples
Deep Learning through ExamplesDeep Learning through Examples
Deep Learning through Examples
Sri Ambati
 

Viewers also liked (15)

Wits presentation 1_21042015
Wits presentation 1_21042015Wits presentation 1_21042015
Wits presentation 1_21042015
 
Wits presentation 3_02062015
Wits presentation 3_02062015Wits presentation 3_02062015
Wits presentation 3_02062015
 
Photo midwinter 2011
Photo midwinter 2011Photo midwinter 2011
Photo midwinter 2011
 
Mid winter final
Mid winter finalMid winter final
Mid winter final
 
CHAMP: a Bespoke Integrated System for Mobile Manipulation
CHAMP: a Bespoke Integrated System for Mobile ManipulationCHAMP: a Bespoke Integrated System for Mobile Manipulation
CHAMP: a Bespoke Integrated System for Mobile Manipulation
 
Machine learning group - Practical examples
Machine learning group - Practical examplesMachine learning group - Practical examples
Machine learning group - Practical examples
 
Wits presentation 5_30062015
Wits presentation 5_30062015Wits presentation 5_30062015
Wits presentation 5_30062015
 
Wits presentation 2_19052015
Wits presentation 2_19052015Wits presentation 2_19052015
Wits presentation 2_19052015
 
Kernal methods part2
Kernal methods part2Kernal methods part2
Kernal methods part2
 
Wits presentation 6_28072015
Wits presentation 6_28072015Wits presentation 6_28072015
Wits presentation 6_28072015
 
Wits presentation 4_17062015
Wits presentation 4_17062015Wits presentation 4_17062015
Wits presentation 4_17062015
 
Probability distributionv1
Probability distributionv1Probability distributionv1
Probability distributionv1
 
Python and Machine Learning
Python and Machine LearningPython and Machine Learning
Python and Machine Learning
 
Introduction to Deep Learning with Python
Introduction to Deep Learning with PythonIntroduction to Deep Learning with Python
Introduction to Deep Learning with Python
 
Deep Learning through Examples
Deep Learning through ExamplesDeep Learning through Examples
Deep Learning through Examples
 

Similar to US learning

2_9_asset-v1-ColumbiaX+CSMM.101x+2T2017+type@asset+block@AI_edx_ml_unsupervis...
2_9_asset-v1-ColumbiaX+CSMM.101x+2T2017+type@asset+block@AI_edx_ml_unsupervis...2_9_asset-v1-ColumbiaX+CSMM.101x+2T2017+type@asset+block@AI_edx_ml_unsupervis...
2_9_asset-v1-ColumbiaX+CSMM.101x+2T2017+type@asset+block@AI_edx_ml_unsupervis...
MostafaHazemMostafaa
 
Unsupervised learning clustering
Unsupervised learning clusteringUnsupervised learning clustering
Unsupervised learning clustering
Arshad Farhad
 
Clustering.pdf
Clustering.pdfClustering.pdf
Clustering.pdf
nadimhossain24
 
Mathematics online: some common algorithms
Mathematics online: some common algorithmsMathematics online: some common algorithms
Mathematics online: some common algorithms
Mark Moriarty
 
Clustering_Overview.pptx
Clustering_Overview.pptxClustering_Overview.pptx
Clustering_Overview.pptx
nyomans1
 
K-means Clustering
K-means ClusteringK-means Clustering
K-means Clustering
Jidhu Mohan M
 
13_Unsupervised Learning.pdf
13_Unsupervised Learning.pdf13_Unsupervised Learning.pdf
13_Unsupervised Learning.pdf
EmanAsem4
 
Training machine learning k means 2017
Training machine learning k means 2017Training machine learning k means 2017
Training machine learning k means 2017
Iwan Sofana
 
08 clustering
08 clustering08 clustering
PPT s10-machine vision-s2
PPT s10-machine vision-s2PPT s10-machine vision-s2
PPT s10-machine vision-s2
Binus Online Learning
 
13Kernel_Machines.pptx
13Kernel_Machines.pptx13Kernel_Machines.pptx
13Kernel_Machines.pptx
KarasuLee
 
Clustering on database systems rkm
Clustering on database systems rkmClustering on database systems rkm
Clustering on database systems rkm
Vahid Mirjalili
 
Clustering - ACM 2013 02-25
Clustering - ACM 2013 02-25Clustering - ACM 2013 02-25
Clustering - ACM 2013 02-25
MapR Technologies
 
ensembles_emptytemplate_v2
ensembles_emptytemplate_v2ensembles_emptytemplate_v2
ensembles_emptytemplate_v2
Shrayes Ramesh
 
clustering in DataMining and differences in models/ clustering in data mining
clustering in DataMining and differences in models/ clustering in data miningclustering in DataMining and differences in models/ clustering in data mining
clustering in DataMining and differences in models/ clustering in data mining
RevathiSundar4
 
machine learning - Clustering in R
machine learning - Clustering in Rmachine learning - Clustering in R
machine learning - Clustering in R
Sudhakar Chavan
 
Fast Single-pass K-means Clusterting at Oxford
Fast Single-pass K-means Clusterting at Oxford Fast Single-pass K-means Clusterting at Oxford
Fast Single-pass K-means Clusterting at Oxford
MapR Technologies
 
DMTM 2015 - 08 Representative-Based Clustering
DMTM 2015 - 08 Representative-Based ClusteringDMTM 2015 - 08 Representative-Based Clustering
DMTM 2015 - 08 Representative-Based Clustering
Pier Luca Lanzi
 
6 clustering
6 clustering6 clustering
6 clustering
Viet-Trung TRAN
 
machine_learning.pptx
machine_learning.pptxmachine_learning.pptx
machine_learning.pptx
Panchami V U
 

Similar to US learning (20)

2_9_asset-v1-ColumbiaX+CSMM.101x+2T2017+type@asset+block@AI_edx_ml_unsupervis...
2_9_asset-v1-ColumbiaX+CSMM.101x+2T2017+type@asset+block@AI_edx_ml_unsupervis...2_9_asset-v1-ColumbiaX+CSMM.101x+2T2017+type@asset+block@AI_edx_ml_unsupervis...
2_9_asset-v1-ColumbiaX+CSMM.101x+2T2017+type@asset+block@AI_edx_ml_unsupervis...
 
Unsupervised learning clustering
Unsupervised learning clusteringUnsupervised learning clustering
Unsupervised learning clustering
 
Clustering.pdf
Clustering.pdfClustering.pdf
Clustering.pdf
 
Mathematics online: some common algorithms
Mathematics online: some common algorithmsMathematics online: some common algorithms
Mathematics online: some common algorithms
 
Clustering_Overview.pptx
Clustering_Overview.pptxClustering_Overview.pptx
Clustering_Overview.pptx
 
K-means Clustering
K-means ClusteringK-means Clustering
K-means Clustering
 
13_Unsupervised Learning.pdf
13_Unsupervised Learning.pdf13_Unsupervised Learning.pdf
13_Unsupervised Learning.pdf
 
Training machine learning k means 2017
Training machine learning k means 2017Training machine learning k means 2017
Training machine learning k means 2017
 
08 clustering
08 clustering08 clustering
08 clustering
 
PPT s10-machine vision-s2
PPT s10-machine vision-s2PPT s10-machine vision-s2
PPT s10-machine vision-s2
 
13Kernel_Machines.pptx
13Kernel_Machines.pptx13Kernel_Machines.pptx
13Kernel_Machines.pptx
 
Clustering on database systems rkm
Clustering on database systems rkmClustering on database systems rkm
Clustering on database systems rkm
 
Clustering - ACM 2013 02-25
Clustering - ACM 2013 02-25Clustering - ACM 2013 02-25
Clustering - ACM 2013 02-25
 
ensembles_emptytemplate_v2
ensembles_emptytemplate_v2ensembles_emptytemplate_v2
ensembles_emptytemplate_v2
 
clustering in DataMining and differences in models/ clustering in data mining
clustering in DataMining and differences in models/ clustering in data miningclustering in DataMining and differences in models/ clustering in data mining
clustering in DataMining and differences in models/ clustering in data mining
 
machine learning - Clustering in R
machine learning - Clustering in Rmachine learning - Clustering in R
machine learning - Clustering in R
 
Fast Single-pass K-means Clusterting at Oxford
Fast Single-pass K-means Clusterting at Oxford Fast Single-pass K-means Clusterting at Oxford
Fast Single-pass K-means Clusterting at Oxford
 
DMTM 2015 - 08 Representative-Based Clustering
DMTM 2015 - 08 Representative-Based ClusteringDMTM 2015 - 08 Representative-Based Clustering
DMTM 2015 - 08 Representative-Based Clustering
 
6 clustering
6 clustering6 clustering
6 clustering
 
machine_learning.pptx
machine_learning.pptxmachine_learning.pptx
machine_learning.pptx
 

More from Beatrice van Eden

SANAE 50 newsletter 2011 06
SANAE 50 newsletter 2011 06 SANAE 50 newsletter 2011 06
SANAE 50 newsletter 2011 06
Beatrice van Eden
 
Sanae 50 may newsletter
Sanae 50 may newsletterSanae 50 may newsletter
Sanae 50 may newsletter
Beatrice van Eden
 
Sanae50 newsletter apr2011_final_300dpi
Sanae50 newsletter apr2011_final_300dpiSanae50 newsletter apr2011_final_300dpi
Sanae50 newsletter apr2011_final_300dpiBeatrice van Eden
 
Sanae50 newsletter march2011_draft2_300dpi
Sanae50 newsletter march2011_draft2_300dpiSanae50 newsletter march2011_draft2_300dpi
Sanae50 newsletter march2011_draft2_300dpi
Beatrice van Eden
 

More from Beatrice van Eden (7)

SANAE 50 newsletter 2011 06
SANAE 50 newsletter 2011 06 SANAE 50 newsletter 2011 06
SANAE 50 newsletter 2011 06
 
Sanae 50 may newsletter
Sanae 50 may newsletterSanae 50 may newsletter
Sanae 50 may newsletter
 
Some more greetings
Some more greetingsSome more greetings
Some more greetings
 
Mid winter artigas uruguay
Mid winter artigas uruguayMid winter artigas uruguay
Mid winter artigas uruguay
 
Sanae50 newsletter apr2011_final_300dpi
Sanae50 newsletter apr2011_final_300dpiSanae50 newsletter apr2011_final_300dpi
Sanae50 newsletter apr2011_final_300dpi
 
Sanae50 newsletter march2011_draft2_300dpi
Sanae50 newsletter march2011_draft2_300dpiSanae50 newsletter march2011_draft2_300dpi
Sanae50 newsletter march2011_draft2_300dpi
 
Sanae50 newsletter feb2011
Sanae50 newsletter feb2011Sanae50 newsletter feb2011
Sanae50 newsletter feb2011
 

Recently uploaded

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 

Recently uploaded (20)

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 

US learning

  • 1. Contents Unsupervised Learning Beatrice van Eden Machine Learning Reading group Introductory Theme
  • 2. 2 Contents  Introduction  Unsupervised Learning concepts  Clustering the idea  Basic clustering problem  Algorithms  Single linkage clustering (SLC)  Issues with SLC  K-means clustering  K-means in Euclidean space  K-means as optimization  Soft clustering  Expectation Maximization (EM)  Clustering properties and impossibilities Charles Isbell Michael Littman Andrew Ng https://www.coursera.org/learn/machine-learning/home/info https://www.udacity.com/course/machine-learning- supervised-learning--ud675
  • 3. 3 Introduction • Supervised Learning Function Approximation • Supervised Learning • Classification – Female, Male (discrete predictions). • Regression – Temperature (continuous predictions). Function Approximation 1,2,3,4,5,6… 1,4,9,16,25,36… Input Output ?
  • 4. 4 Why Unsupervised Learning? • Unsupervised Learning Pre-processing • Try to find hidden structure Finding Structure Function Approximation Pixels Summaries Labels UL SL
  • 5. 5 Introduction • Optimization • SL - Label data well • UL - Cluster scores well • Data is important • Algorithms are important
  • 6. 6 Clustering • Clustering is the task of grouping a set of objects in such a way that objects in the same group are more similar to each other than to those in other groups/clusters.
  • 7. 7 Clustering • Basic clustering problem • Given: set of objects 𝑋 Inter-object distances D(X, Y) = 𝐷 𝑌, 𝑋 , 𝑋, 𝑌𝜖𝑋 • Output: Partition 𝑃 𝐷(𝑋) = 𝑃 𝐷(𝑌) if 𝑋 and 𝑌 in same cluster • Extreme clustering algorithm: ∀ 𝑋 𝑃 𝐷(𝑋) = 1, ∀ 𝑋 𝑃 𝐷(𝑋) = X (Humans), (Each Unique)
  • 8. 8 Clustering • Single linkage clustering (SLC) • Consider each object a cluster (n objects) • Define inter cluster distance as the distance between the closest two points in the two clusters • Merge two closest clusters • Repeat n-k times to make n clusters. 1 6542 3
  • 10. 10 Clustering • K-means clustering • Pick k “centres” (at random) • Each centre “claims” its closest points • Recompute the centre by averaging the clustered points • Repeat until convergence (does it always converge and give good answers)
  • 11. 11 Clustering • K-means in Euclidean space • 𝐴 = 𝑃 𝑡 𝑋 : Partition/Cluster of objects 𝑋 • 𝐶𝑖 : Set of all points in cluster 𝑖 = 𝑋 𝑠. 𝑡. 𝑃 𝑋 = 𝑖 • 𝐶𝑒𝑛𝑡𝑒𝑟𝑖 = 𝑦𝜖𝐶𝑖 𝑦 𝐶 𝑖 • 𝐶𝑒𝑛𝑡𝑒𝑟𝑖 → 𝑃 𝑡 = 𝑎𝑟𝑔𝑚𝑖𝑛 𝑋𝐶𝑒𝑛𝑡𝑒𝑟𝑖 2 𝐶𝑒𝑛𝑡𝑒𝑟𝑖 = 𝑦𝜖𝐶𝑖 𝑦 𝐶 𝑖 t t t t t-1 2 t t
  • 12. 12 Clustering • K-means as optimization • Configurations: Centre / Partition • Scores: 𝐸(𝑃, 𝐶𝑒𝑛𝑡𝑒𝑟) = 𝑋 𝐶𝑒𝑛𝑡𝑒𝑟 𝑃 𝑋 − 𝑋 2 • Neighbourhood: 𝑃, 𝐶𝑒𝑛𝑡𝑒𝑟 = 𝑃1, 𝐶𝑒𝑛𝑡𝑒𝑟 ∪ 𝑃, 𝐶𝑒𝑛𝑡𝑒𝑟1 • Optimisation • Hillclimbing, Genetic algorithms, Simulated Annealing 2
  • 13. 13 Clustering • Soft clustering • If k=2 what happens to d? • Can d be shared between clusters? • Assume the data was generated by – Select one of k Gaussians distributions, know the variance, sampled from uniformly – Sample Xi from that Gaussian – Repeat n times • Task: find a hypothesis h=<µ1,...,µk> (means of distribution) that maximizes the probability of the data
  • 15. 15 Clustering • Clustering properties • Richness: For any assignment of objects to clusters there is some distance matrix D such that PD returns that cluster • Scale-invariance: Scaling distances by a positive value does not change the clustering • Consistency: Shrinking intra cluster distances and expanding inter cluster distances does not change the cluster • Impossibility theorem • No clustering algorithm can achieve all three properties
  • 16. 16 Conclusion • Unsupervised learning – Finding structure in the data