Chapter 5

Clustering and Classification

In This Chapter

arrow Understanding the basics of clustering and classification

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

arrow Getting to know hierarchical and neighborhood clustering algorithms

arrow Checking out decision tree and random forest algorithms

Data scientists use clustering to help them divide their data into subsets and classification methods to help them build predictive models that they can then use to forecast the classification of future data points. The basics behind clustering and classification 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 and classification. I follow that by introducing several nuanced algorithms that offer clustering and classification solutions to meet your requirements, based on the specific characteristics of your feature dataset.

Introducing the Basics of Clustering and Classification

To grasp advanced methods for use in clustering your data, ...

Get Data Science For Dummies now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.