Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Unsupervised Learning with Python

You're reading from  Hands-On Unsupervised Learning with Python

Product type Book
Published in Feb 2019
Publisher Packt
ISBN-13 9781789348279
Pages 386 pages
Edition 1st Edition
Languages
Author (1):
Giuseppe Bonaccorso Giuseppe Bonaccorso
Profile icon Giuseppe Bonaccorso
Toc

Table of Contents (12) Chapters close

Preface 1. Getting Started with Unsupervised Learning 2. Clustering Fundamentals 3. Advanced Clustering 4. Hierarchical Clustering in Action 5. Soft Clustering and Gaussian Mixture Models 6. Anomaly Detection 7. Dimensionality Reduction and Component Analysis 8. Unsupervised Neural Network Models 9. Generative Adversarial Networks and SOMs 10. Assessments 11. Other Books You May Enjoy

Cluster hierarchies

In the previous chapters, we analyzed clustering algorithms, where the output is a single segmentation based either on a predefined number of clusters or the result of a parameter set and a precise underlying geometry. On the other hand, hierarchical clustering generates a sequence of clustering configurations that can be arranged in the structure of a tree. In particular, let's suppose that we have a dataset, X, containing n samples:

An agglomerative approach starts by assigning each sample to a cluster, Ci, and proceeds by merging two clusters at each step until a single final cluster (corresponding to X) has been produced:

In the preceding example, the clusters Ci and Cj are merged into Ck; hence, we obtain n-1 clusters in the second step. The process continues until the two remaining clusters are merged into a single block containing the whole dataset...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime