Skip to Main Content
Artificial Intelligence with Python - Second Edition
book

Artificial Intelligence with Python - Second Edition

by Alberto Artasanchez, Prateek Joshi
January 2020
Beginner to intermediate content levelBeginner to intermediate
618 pages
13h 57m
English
Packt Publishing
Content preview from Artificial Intelligence with Python - Second Edition

8

Building Recommender Systems

In this chapter, we will learn how to build a recommendation system that will recommend movies that people might like to watch. We will learn about the K-nearest neighbors classifier and see how to implement it. We use these concepts to discuss collaborative filtering and then use it to build a recommender system.

By the end of this chapter, you will have learned about the following:

  • Extracting the nearest neighbors
  • Building a K-Nearest Neighbors classifier
  • Computing similarity scores
  • Finding similar users using collaborative filtering
  • Building a movie recommendation system

Extracting the nearest neighbors

Recommender systems employ the concept of nearest neighbors to find good recommendations. The name nearest ...

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.
Start your free trial

You might also like

Artificial Intelligence Programming with Python

Artificial Intelligence Programming with Python

Perry Xiao
Machine Learning with PyTorch and Scikit-Learn

Machine Learning with PyTorch and Scikit-Learn

Sebastian Raschka, Yuxi (Hayden) Liu, Vahid Mirjalili

Publisher Resources

ISBN: 9781839219535Supplemental Content