MyMediaLite  3.03
Static Public Member Functions
MovieLensRatingData Class Reference

Class that offers static methods for reading in MovieLens 1M and 10M rating data. More...

List of all members.

Static Public Member Functions

static ITimedRatings Read (string filename, IMapping user_mapping=null, IMapping item_mapping=null)
 Read in rating data from a file.
static ITimedRatings Read (TextReader reader, IMapping user_mapping=null, IMapping item_mapping=null)
 Read in rating data from a TextReader.

Detailed Description

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


Member Function Documentation

static ITimedRatings Read ( string  filename,
IMapping  user_mapping = null,
IMapping  item_mapping = null 
) [inline, static]

Read in rating data from a file.

Parameters:
filenamethe name of the file to read from, "-" if STDIN
user_mappingmapping object for user IDs
item_mappingmapping object for item IDs
Returns:
the rating data
static ITimedRatings Read ( TextReader  reader,
IMapping  user_mapping = null,
IMapping  item_mapping = null 
) [inline, static]

Read in rating data from a TextReader.

Parameters:
readerthe TextReader to read from
user_mappingmapping object for user IDs
item_mappingmapping object for item IDs
Returns:
the rating data

The documentation for this class was generated from the following file: