Chapter 3. Clustering

In this chapter, we will cover the following recipes:

  • Hierarchical clustering - World Bank
  • Hierarchical clustering - Amazon rainforest burned between 1999-2010
  • Hierarchical clustering - gene clustering
  • Binary clustering - math test
  • K-means clustering - European countries protein consumption
  • K-means clustering - foodstuff

Introduction

Hierarchical clustering: One of the most important methods in unsupervised learning is Hierarchical clustering. In Hierarchical clustering for a given set of data points, the output is produced in the form of a binary tree (dendrogram). In the binary tree, the leaves represent the data points while internal nodes represent nested clusters of various sizes. Each object is assigned a separate cluster. ...

Get Practical Machine Learning Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.