O'Reilly logo

Practical Machine Learning Cookbook by Atul Tripathi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required