Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

2. Making Recommendations > Using the MovieLens Dataset

Using the MovieLens Dataset

For the final example, let’s look at a real dataset of movie ratings called MovieLens. MovieLens was developed by the GroupLens project at the University of Minnesota. You can download the dataset from http://grouplens.org, click on “Data Sets”, and then “Movie Lens Data Sets”. There are two datasets here. Download the 100,000 dataset in either tar.gz format or zip format, depending on your platform.

The archive contains several files, but the ones of interest are u.item, which contains a list of movie IDs and titles, and u.data, which contains actual ratings in this format:

196  242   3      881250949
186  302   3      891717742
22   377   1      878887116
244  51    2      880606923
166  346   1      886397596
298  474   4      884182806

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint