Learn how all user's product reviews are stored in one large, two-dimentional table.
- [Instructor] Our movie review dataset…contains one row for each rating.…This is the format that reviewed data…is typically collected in,…but in order to build a recommendations system…from this data, we want to create a matrix…or two-dimensional array that shows…which movies have been rated by which users.…The matrix will have one row for each user…and one column for each movie.…Let's take a look at the code in create_review_matrix.py.…First, we're going to use Pandas read_csv function…to load the movie_ratings_data_set.csv file.…This rating has one row for each individual movie review.…
To turn this into a matrix that summarizes…all reviews across all movies,…we need to use Pandas pivot table function.…A pivot table takes a list of data…and summarizes it with one row and one column…for each unique user and unique movie in our dataset.…If you have used pivot tables in spreadsheet software…like Microsoft Excel, it works exactly the same way here.…First we pass in the data frame…containing the data we want to summarize.…
Author
Released
4/10/2017Recommendation systems are a key part of almost every modern consumer website. The systems help drive customer interaction and sales by helping customers discover products and services they might not ever find themselves. The course uses the free, open source tools Python 3.5, pandas, and numpy. By the end of the course, you'll be equipped to use machine learning yourself to solve recommendation problems. What you learn can then be directly applied to your own projects.
- Building a machine learning system
- Training a machine learning system
- Refining the accuracy of the machine learning system
- Evaluating the recommendations received
Skill Level Intermediate
Duration
Views
Related Courses
-
Introduction
-
Welcome1m 1s
-
Set up environment2m 15s
-
-
1. The Basics of Making Recommendations
-
2. Ways of Making Recommendations
-
3. Getting to Know Our Tools
-
4. Building the Framework for Our Recommendation System
-
5. Collaborative Filtering with Matrix Factorization
-
6. Testing Our System
-
Use regularization1m 52s
-
7. Using the Recommendation System in a Real World Program
-
Find similar products1m 59s
-
Conclusion
-
Wrap up47s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Represent product reviews as a matrix