AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Recommender systems: suggest what people will like

Build the rows behind "Top picks for you" and "Frequently bought together", from popularity lists to matrix factorisation, and test them the way real apps do.

Every app with more choices than a person can look through needs to decide what to show first. The film app's "Top picks for you", the shopping app's "Customers also bought", the grocery cart's "You may have forgotten" and the music app's daily mix all come from recommender systems. On big apps, a large share of what people watch, buy and read is found through them.

In this course you will build the main kinds of recommender: popularity lists, content-based "more like this", collaborative filtering from other people's ratings, matrix factorisation that finds hidden tastes, and basket analysis for products bought together. Just as important, you will learn to test a recommender honestly, and to handle what real apps face: clicks instead of ratings, new users, new items and lists that are all the same.

You need Python basics, NumPy and pandas before this course. Machine learning helps. Everything runs in your browser with pandas and scikit-learn.

  • Learn lessons explain one idea at a time, with small exercises you can try again and again.
  • Industry ready lessons give you real business files and questions, and the interview questions that go with them.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 20 min Free sample πŸ”’ AiTeky Pass What is a recommender? Start with what is popular See how apps choose what to show you, meet a film app's ratings, and build the first recommender every team starts with - the most popular list - including the trap of a film with five stars from only a handful of people.
  2. 02 25 min πŸ”’ AiTeky Pass Content-based recommendations - more like this Describe each film by its genre and language, measure how alike two films are with cosine similarity, build a "more like this" row, and turn a user's liked films into a taste profile.
  3. 03 20 min πŸ”’ AiTeky Pass The user-item table - who rated what Reshape a long list of ratings into a user-by-film table, see how empty it is, and take out each person's rating habit (generous or strict) so their tastes can be compared fairly.
  4. 04 25 min πŸ”’ AiTeky Pass People like you - user-based collaborative filtering Find the users whose tastes are closest to yours, then guess your rating for a film you have not seen from how those neighbours rated it. This is collaborative filtering, the idea behind "people like you also liked".
  5. 05 25 min πŸ”’ AiTeky Pass People who liked this also liked - item-based filtering Compare films by who liked them instead of what they are, build an "also liked" row, see how it finds links a genre label never could, and turn it into personal recommendations with one matrix multiplication.
  6. 06 30 min πŸ”’ AiTeky Pass Is it any good? Testing a recommender honestly Hide some ratings, rebuild the recommenders without them, and score how well each one guesses the hidden ratings (MAE) and how many hidden favourites it puts in its top 10 (precision, recall, hit rate), plus how varied its suggestions are.
  7. 08 30 min πŸ”’ AiTeky Pass Hidden tastes - matrix factorisation Squeeze the user-item table into a few hidden "taste" numbers per person and per film, read what those numbers mean, fill in every empty cell from them, and see this compact model make the best top-10 lists so far.
  8. 09 30 min πŸ”’ AiTeky Pass Real-world problems - clicks, newcomers and variety Work with likes nobody typed (watches, clicks, purchases), handle new users and brand-new films that have no history, blend content and collaborative scores into a hybrid, and stop a top-10 list from being ten films of the same kind.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 07 45 min πŸ”’ AiTeky Pass On the job: "frequently bought together" for a grocery app Turn two months of grocery baskets into product pairs. Learn support, confidence and lift, see why the most common pair means nothing, find the real pairs, then test three ways of suggesting a missing item on November's baskets and pick one for the cart screen.
  2. 10 50 min πŸ”’ AiTeky Pass On the job: the "Recommended for you" row of an e-book app Build and test the home-screen row of a reading app from a year of reads. Split by time, beat the popularity list with item similarity and matrix factorisation, discover that series sell themselves, then handle November's new releases with a hybrid row and present the result.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in