MovieLensRatingData Class Reference
Class that offers static methods for reading in MovieLens 1M and 10M rating data.
More...
List of all members.
Detailed Description
Class that offers static methods for reading in MovieLens 1M and 10M rating data.
Member Function Documentation
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 |
- Returns:
- the rating data
Read in rating data from a file.
- Parameters:
-
| filename | the name of the file to read from, "-" if STDIN |
| user_mapping | mapping object for user IDs |
| item_mapping | mapping object for item IDs |
- Returns:
- the rating data
The documentation for this class was generated from the following file: