Read in static rating data from a TextReader
Declaring type: RatingPredictionStatic
Namespace: MyMediaLite.IO
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static IRatings Read (
        TextReader reader,
        int size,
        double min_rating,
        double max_rating,
        IEntityMapping user_mapping,
        IEntityMapping item_mapping,
        RatingType rating_type
) 
Parameters
reader
the System.IO.TextReader to read from
size
the number of ratings in the file
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