Chapter 6

Using Clustering to Subdivide Data

IN THIS CHAPTER

check Understanding the basics of clustering

check Clustering your data with the k-means algorithm and kernel density estimation

check Getting to know hierarchical and neighborhood clustering algorithms

check Checking out decision tree and random forest algorithms

Data scientists use clustering to help them divide their unlabeled data into subsets. The basics behind clustering are relatively easy to understand, but things get tricky fast when you get into using some of the more advanced algorithms. In this chapter, I introduce the basics behind clustering. I follow that by introducing several nuanced algorithms that offer clustering solutions to meet your requirements, based on the specific characteristics of your feature dataset.

Introducing Clustering Basics

To grasp advanced methods for use in clustering your data, you should first take a few moments to make sure you have a firm understanding of the basics that underlie all forms of clustering. Clustering is a form of machine learning — the machine in this case is your computer, and learning ...

Get Data Science For Dummies, 2nd Edition 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.