Class that offers static methods for reading in MovieLens 1M and 10M rating data. More...
Static Public Member Functions | |
static ITimedRatings | Read (TextReader reader, IEntityMapping user_mapping, IEntityMapping item_mapping) |
Read in rating data from a TextReader. | |
static ITimedRatings | Read (string filename, IEntityMapping user_mapping, IEntityMapping item_mapping) |
Read in rating data from a file. |
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
static ITimedRatings Read | ( | TextReader | reader, | |
IEntityMapping | user_mapping, | |||
IEntityMapping | item_mapping | |||
) | [inline, static] |
Read in rating data from a TextReader.
reader | the TextReader to read from | |
user_mapping | mapping object for user IDs | |
item_mapping | mapping object for item IDs |
static ITimedRatings Read | ( | string | filename, | |
IEntityMapping | user_mapping, | |||
IEntityMapping | item_mapping | |||
) | [inline, static] |
Read in rating data from a file.
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 |