Chapter 8. Unsupervised methods

This chapter covers

  • Using R’s clustering functions to explore data and look for similarities
  • Choosing the right number of clusters
  • Evaluating a clustering
  • Using R’s association rules functions to find patterns of co-occurrence in data
  • Evaluating a set of association rules

The methods that we’ve discussed in previous chapters build models to predict outcomes. In this chapter, we’ll look at methods to discover unknown relationships in data. These methods are called unsupervised methods. With unsupervised methods, there’s no outcome that you’re trying to predict; instead, you want to discover patterns in the data that perhaps you hadn’t previously suspected. For example, you may want to find groups of customers ...

Get Practical Data Science with R 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.