Skip to Content
Hands-On Unsupervised Learning with Python
book

Hands-On Unsupervised Learning with Python

by Giuseppe Bonaccorso
February 2019
Intermediate to advanced
386 pages
9h 54m
English
Packt Publishing
Content preview from Hands-On Unsupervised Learning with Python

Chapter 4

  1. In the agglomerative approach, the algorithm starts from each sample, considered as a cluster, and proceeds to merge the sub-clusters until a single cluster has been defined. In the divisive approach, the algorithm starts from a single cluster containing all of the samples, and proceeds by splitting it until every sample makes up a cluster.

  1. The closest points are (0, 0) and (0, 1), so the single linkage is Ls(a, b) = 1. The farthest points are (-1, -1) and (1, 1), so the complete linkage is Lc(a, b) = 2√2.
  2. No; a dendrogram is a tree representation of a hierarchical clustering procedure, given a metric and a linkage.
  3. In an agglomerative clustering, the initial part of a dendrogram contains all of the samples as autonomous clusters. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Unsupervised Learning Using Python

Hands-On Unsupervised Learning Using Python

Ankur A. Patel
Introduction to Machine Learning with Python

Introduction to Machine Learning with Python

Andreas C. Müller, Sarah Guido

Publisher Resources

ISBN: 9781789348279Supplemental Content