MyMediaLite
3.01
|
Class that offers methods for reading in rating data with time information. More...
Static Public Member Functions | |
static ITimedRatings | Read (string filename, IEntityMapping user_mapping=null, IEntityMapping item_mapping=null, bool ignore_first_line=false) |
Read in rating data from a file. | |
static ITimedRatings | Read (TextReader reader, IEntityMapping user_mapping=null, IEntityMapping item_mapping=null, bool ignore_first_line=false) |
Read in rating data from a TextReader. |
Class that offers methods for reading in rating data with time information.
static ITimedRatings Read | ( | string | filename, |
IEntityMapping | user_mapping = null , |
||
IEntityMapping | item_mapping = null , |
||
bool | ignore_first_line = false |
||
) | [inline, static] |
Read in rating data from a file.
filename | the name of the file to read from |
user_mapping | mapping object for user IDs |
item_mapping | mapping object for item IDs |
ignore_first_line | if true, ignore the first line |
static ITimedRatings Read | ( | TextReader | reader, |
IEntityMapping | user_mapping = null , |
||
IEntityMapping | item_mapping = null , |
||
bool | ignore_first_line = false |
||
) | [inline, static] |
Read in rating data from a TextReader.
reader | the TextReader to read from |
user_mapping | mapping object for user IDs |
item_mapping | mapping object for item IDs |
ignore_first_line | if true, ignore the first line |