5 A gentle introduction to classification

This chapter covers

  • Writing formal notation
  • Using logistic regression
  • Working with a confusion matrix
  • Understanding multiclass classification

Imagine an advertisement agency collecting information about user interactions to decide what type of ad to show. That’s not uncommon. Google, Twitter, Facebook, and other big tech giants that rely on ads have creepy-good personal profiles of their users to help deliver personalized ads. A user who’s recently searched for gaming keyboards or graphics cards is probably more likely to click ads about the latest and greatest video games.

Delivering an advertisement specially crafted to each person may be difficult, so grouping users into categories is a common ...

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