CrashCourse · @crashcourse

Let's make a movie recommendation system: Crash Course AI #16

Uploaded June 7, 2020 · Length 14:41

Let's make a movie recommendation system: Crash Course AI #16

Summary

Learn to build a movie recommender system using Python and the MovieLens dataset with user-user collaborative filtering.

  • movie recommender system
  • python coding
  • collaborative filtering
  • machine learning ai
  • movielens dataset

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:01

    Jabril: Yeah, that was...

  2. 0:05

    John Green Bot: … the BEST movie ever!

  3. 0:07

    Jabril: That’s not what I was gonna say.

  4. 0:09

    How about for the next movie night we pick a new movie that we’ll both probably like?

  5. 0:12

    John-Green-Bot: Maybe something romantic?

  6. 0:15

    How about Pride & Prejudice?

  7. 0:17

    Jabril: Oh John Green Bot...

  8. 0:19

    I'm going to need this.

  9. 0:23

    Okay, I think it’s time to make a movie recommender system AI.

  10. 0:28

    It’s the only hope for the future of John Green Bot and my friendship… or at least

  11. 0:32

    our movie nights!

  12. 0:33

    INTRO

  13. 0:42

    Hey, I’m Jabril, and welcome to Crash Course AI.

  14. 0:45

    Last time, we introduced the idea of recommender systems, which are AIs that use information

  15. 0:50

    about something, and its social ratings to recommend new things to people.

  16. 0:54

    These things can be ads, products, YouTube videos, or pretty much anything like that.

  17. 0:59

    Today, I’m going to build a recommender system for movies to hopefully find a new

  18. 1:03

    movie that both me and John-Green-bot want to watch for our next movie night.

  19. 1:07

    Like in previous labs, I’ll be writing all of the code using a language called Python

  20. 1:11

    in a tool called Google Colaboratory.

  21. 1:13

    And as you watch this video, you can follow along with the code in your browser from the

  22. 1:17

    link we put in the description.

  23. 1:18

    In these Colaboratory files, there’s some regular text explaining what we’re trying

  24. 1:22

    to do, and pieces of code that you can run by pushing the play button.

  25. 1:26

    These pieces of code build on each other, so keep in mind that you have to run them

  26. 1:30

    in order from top to bottom, otherwise you might get an error.

  27. 1:33

    To actually run the code or make changes to it, you’ll have to either click “open

  28. 1:36

    in playground” at the top of the page or open the File menu and click “Save a Copy

  29. 1:41

    to Drive”.

  30. 1:42

    And just an fyi: you’ll need a Google account for this.

  31. 1:45

    So, if I’m going to build a movie-recommending AI, the first thing I know is that AI systems

  32. 1:49

    need data.

  33. 1:50

    I’ll need to find and import a dataset of movies, and ideally it’ll already have ratings

  34. 1:55

    given by lots of different people to lots of different movies, so I won’t have to