C# Class MyMediaLite.IO.MovieLensRatingData

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
Mostra file Open project: zenogantner/MML-KDD

Public Methods

Method Description
Read ( TextReader reader, IEntityMapping user_mapping, IEntityMapping item_mapping ) : IRatings

Read in rating data from a TextReader

Read ( string filename, IEntityMapping user_mapping, IEntityMapping item_mapping ) : IRatings

Read in rating data from a file

Method Details

Read() public static method

Read in rating data from a TextReader
public static Read ( TextReader reader, IEntityMapping user_mapping, IEntityMapping item_mapping ) : IRatings
reader System.IO.TextReader the to read from
user_mapping IEntityMapping mapping object for user IDs
item_mapping IEntityMapping mapping object for item IDs
return IRatings

Read() public static method

Read in rating data from a file
public static Read ( string filename, IEntityMapping user_mapping, IEntityMapping item_mapping ) : IRatings
filename string the name of the file to read from, "-" if STDIN
user_mapping IEntityMapping mapping object for user IDs
item_mapping IEntityMapping mapping object for item IDs
return IRatings