CrashCourse · @crashcourse
Let's make a movie recommendation system: Crash Course AI #16
Uploaded June 7, 2020 · Length 14:41
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.
- 0:01
Jabril: Yeah, that was...
- 0:05
John Green Bot: … the BEST movie ever!
- 0:07
Jabril: That’s not what I was gonna say.
- 0:09
How about for the next movie night we pick a new movie that we’ll both probably like?
- 0:12
John-Green-Bot: Maybe something romantic?
- 0:15
How about Pride & Prejudice?
- 0:17
Jabril: Oh John Green Bot...
- 0:19
I'm going to need this.
- 0:23
Okay, I think it’s time to make a movie recommender system AI.
- 0:28
It’s the only hope for the future of John Green Bot and my friendship… or at least
- 0:32
our movie nights!
- 0:33
INTRO
- 0:42
Hey, I’m Jabril, and welcome to Crash Course AI.
- 0:45
Last time, we introduced the idea of recommender systems, which are AIs that use information
- 0:50
about something, and its social ratings to recommend new things to people.
- 0:54
These things can be ads, products, YouTube videos, or pretty much anything like that.
- 0:59
Today, I’m going to build a recommender system for movies to hopefully find a new
- 1:03
movie that both me and John-Green-bot want to watch for our next movie night.
- 1:07
Like in previous labs, I’ll be writing all of the code using a language called Python
- 1:11
in a tool called Google Colaboratory.
- 1:13
And as you watch this video, you can follow along with the code in your browser from the
- 1:17
link we put in the description.
- 1:18
In these Colaboratory files, there’s some regular text explaining what we’re trying
- 1:22
to do, and pieces of code that you can run by pushing the play button.
- 1:26
These pieces of code build on each other, so keep in mind that you have to run them
- 1:30
in order from top to bottom, otherwise you might get an error.
- 1:33
To actually run the code or make changes to it, you’ll have to either click “open
- 1:36
in playground” at the top of the page or open the File menu and click “Save a Copy
- 1:41
to Drive”.
- 1:42
And just an fyi: you’ll need a Google account for this.
- 1:45
So, if I’m going to build a movie-recommending AI, the first thing I know is that AI systems
- 1:49
need data.
- 1:50
I’ll need to find and import a dataset of movies, and ideally it’ll already have ratings
- 1:55
given by lots of different people to lots of different movies, so I won’t have to


