Method | Description | |
---|---|---|
Read ( |
Read in static rating data from a TextReader
|
|
Read ( string filename, IEntityMapping user_mapping, IEntityMapping item_mapping, RatingType rating_type ) : IRatings |
Read in static rating data from a file
|
public static Read ( |
||
reader | the |
|
size | int | the number of ratings in the file |
user_mapping | IEntityMapping | mapping object for user IDs |
item_mapping | IEntityMapping | mapping object for item IDs |
rating_type | RatingType | the data type to be used for storing the ratings |
return | IRatings |
public static Read ( string filename, IEntityMapping user_mapping, IEntityMapping item_mapping, RatingType rating_type ) : 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 |
rating_type | RatingType | the data type to be used for storing the ratings |
return | IRatings |