Class that offers static methods for reading in MovieLens 1M and 10M rating data
More...
Class that offers static methods for reading in MovieLens 1M and 10M rating data
See http://www.grouplens.org/node/73#attachments and http://recsyswiki.com/wiki/MovieLens
Read in rating data from a file
- Parameters
-
filename | the name of the file to read from |
user_mapping | mapping object for user IDs |
item_mapping | mapping object for item IDs |
test_rating_format | whether there is a rating column in each line or not |
- Returns
- the rating data
Read in rating data from a TextReader
- Parameters
-
reader | the TextReader to read from |
user_mapping | mapping object for user IDs |
item_mapping | mapping object for item IDs |
test_rating_format | whether there is a rating column in each line or not |
- Returns
- the rating data
The documentation for this class was generated from the following file: