Skip to main content
HomePython

Building Recommendation Engines in Python

Learn to build recommendation engines in Python using machine learning techniques.

Start Course for Free
4 hours16 videos60 exercises10,507 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

We’ve come to expect personalized experiences online—whether it’s Netflix recommending a show or an online retailer suggesting items you might also like to purchase. But how are these suggestions generated? In this course, you’ll learn everything you need to know to create your own recommendation engine. Through hands-on exercises, you’ll get to grips with the two most common systems, collaborative filtering and content-based filtering. Next, you’ll learn how to measure similarities like the Jaccard distance and cosine similarity, and how to evaluate the quality of recommendations on test data using the root mean square error (RMSE). By the end of this course, you’ll have built your very own movie recommendation engine and be able to apply your Python skills to create these systems for any industry.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Introduction to Recommendation Engines

    Free

    What problems are recommendation engines designed to solve and what data are best suited for them? Discern what insightful recommendations can be made even with limited data, and learn how to create your own recommendations.

    Play Chapter Now
    What are recommendation engines?
    50 xp
    Recommendation engines vs. predictions
    100 xp
    Identifying the correct data for recommendation engines
    50 xp
    Implicit vs. explicit data
    100 xp
    Non-personalized recommendations
    50 xp
    Introduction to non-personalized recommendations
    100 xp
    Improved non-personalized recommendations
    100 xp
    Combining popularity and reviews
    100 xp
    Non-personalized suggestions
    50 xp
    Finding all pairs of movies
    100 xp
    Counting up the pairs
    100 xp
    Making your first movie recommendations
    100 xp
  2. 3

    Collaborative Filtering

    Discover new items to recommend to users by finding others with similar tastes. Learn to make user-based and item-based recommendations—and in what context they should be used. Use k-nearest neighbors models to leverage the wisdom of the crowd and predict how someone might rate an item they haven’t yet encountered.

    Play Chapter Now
  3. 4

    Matrix Factorization and Validating Your Predictions

    Understand how the sparsity of real-world datasets can impact your recommendations. Leverage the power of matrix factorization to deal with this sparsity. Explore the value of latent features and use them to better understand your data. Finally, put the models you’ve discovered to the test by learning how to validate each of the approaches you’ve learned.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

datasets

User ratingsMovies

collaborators

Collaborator's avatar
Amy Peterson
Collaborator's avatar
Maggie Matsui
Robert O'Callaghan HeadshotRobert O'Callaghan

Director of Data Science, Ordergroove

Rob enables retailers and brands to make themselves indispensable to their customers’ lives by anticipating purchasing needs. Throughout his career, Rob has focused on the analysis, visualization, and modeling of data to produce actionable business improvements for some of the world’s largest organizations. He has successfully designed and implemented multi-million dollar machine learning solutions within several Fortune 500 companies, focusing in particular on bleeding edge unsupervised and supervised learning techniques. He has presented his work, in the U.S. and abroad, to audiences of hundreds at financial services and AI-focused conferences.
See More

What do other learners have to say?

Join over 15 million learners and start Building Recommendation Engines in Python today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.