Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
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 Implement machine learning and deep learning models using Scikit-Learn, TensorFlow, and more

Arrow left icon
Product type Paperback
Published in Feb 2019
Publisher Packt
ISBN-13 9781789348279
Length 386 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Giuseppe Bonaccorso Giuseppe Bonaccorso
Author Profile Icon Giuseppe Bonaccorso
Giuseppe Bonaccorso
Giuseppe Bonaccorso Giuseppe Bonaccorso
Author Profile Icon Giuseppe Bonaccorso
Giuseppe Bonaccorso
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started with Unsupervised Learning FREE CHAPTER 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

Analyzing a dendrogram

A dendrogram is a tree data structure that allows us to represent the entire clustering hierarchy produced by either an agglomerative or divisive algorithm. The idea is to put the samples on the x axis and the dissimilarity level on the y axis. Whenever two clusters are merged, the dendrogram shows a connection corresponding to the dissimilarity level at which it occurred. Hence, in an agglomerative scenario, a dendrogram always starts with all samples considered as clusters and moves upward (the direction is purely conventional) until a single cluster is defined.

For didactic purposes, it's preferable to show the dendrogram corresponding to a very small dataset, X, but all the concepts that we are going to discuss can be applied to any situation. However, with larger datasets, it will often be necessary to apply some truncations in order to visualize...

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 $19.99/month. Cancel anytime