MyMediaLite
3.01
|
Class that offers methods for reading in rating data. More...
Static Public Member Functions | |
static IRatings | Read (string filename, IEntityMapping user_mapping=null, IEntityMapping item_mapping=null, bool ignore_first_line=false) |
Read in rating data from a file. | |
static IRatings | Read (TextReader reader, IEntityMapping user_mapping=null, IEntityMapping item_mapping=null, bool ignore_first_line=false) |
Read in rating data from a TextReader. | |
static IRatings | Read (IDataReader reader, IEntityMapping user_mapping, IEntityMapping item_mapping) |
Read in rating data from an IDataReader, e.g. a database via DbDataReader. |
Class that offers methods for reading in rating data.
static IRatings 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 IRatings 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 |
static IRatings Read | ( | IDataReader | reader, |
IEntityMapping | user_mapping, | ||
IEntityMapping | item_mapping | ||
) | [inline, static] |
Read in rating data from an IDataReader, e.g. a database via DbDataReader.
reader | the IDataReader to read from |
user_mapping | mapping object for user IDs |
item_mapping | mapping object for item IDs |