Chapter 5. Automatically clustering data

This chapter covers

  • Basic clustering with k-means
  • Representing audio
  • Audio segmentation
  • Clustering with a self-organizing map

Suppose you have a collection of not-pirated, totally legal MP3s on your hard drive. All your songs are crowded in one massive folder. Perhaps automatically grouping similar songs into categories such as Country, Rap, and Rock would help organize them. This act of assigning an item to a group (such as an MP3 to a playlist) in an unsupervised fashion is called clustering.

The previous chapter on classification assumes you’re given a training dataset of correctly labeled data. ...

Get Machine Learning with TensorFlow 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.