Read in rating data from a file
Declaring type: MovieLensRatingData
Namespace: MyMediaLite.IO
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static IRatings Read (
        string filename,
        double min_rating,
        double max_rating,
        IEntityMapping user_mapping,
        IEntityMapping item_mapping
) 
Parameters
filename
the name of the file to read from, "-" if STDIN
min_rating
the lowest possible rating value, warn on out of range ratings
max_rating
the highest possible rating value, warn on out of range ratings
user_mapping
mapping object for user IDs
item_mapping
mapping object for item IDs
Return Value
the rating data