Read in static rating data from a file
Declaring type: RatingPredictionStatic
Namespace: MyMediaLite.IO
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static IRatings Read (
        string filename,
        double min_rating,
        double max_rating,
        EntityMapping user_mapping,
        EntityMapping item_mapping,
        RatingType rating_type
) 
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
rating_type
the data type to be used for storing the ratings
Return Value
the rating data