Identifying Cats and Dogs
Imagine you run a social media website where users can post and view pictures of animals. To simplify the site as much as possible, you don’t want users to attach any additional information to these images, such as whether or not the image is that of a dog or a cat. However, you do want users to be able to filter their feeds based on such criteria. So, how can you accomplish this without requiring users to tag their images with a specific category? You guessed it: machine learning.
In this example, you’ll train a model to classify images into one of two categories: cats or dogs. While you can easily extend the model to distinguish between any kind of animal, by reducing the number to two, you reduce the amount of data ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access