MyMediaLite
3.09
|
Class that offers methods for reading in rating data with time information. More...
Static Public Member Functions | |
static ITimedRatings | Read (string filename, IMapping user_mapping=null, IMapping item_mapping=null, TestRatingFileFormat test_rating_format=TestRatingFileFormat.WITH_RATINGS, bool ignore_first_line=false) |
Read in rating data from a file. | |
static ITimedRatings | Read (TextReader reader, IMapping user_mapping=null, IMapping item_mapping=null, TestRatingFileFormat test_rating_format=TestRatingFileFormat.WITH_RATINGS, 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, |
IMapping | user_mapping = null , |
||
IMapping | item_mapping = null , |
||
TestRatingFileFormat | test_rating_format = TestRatingFileFormat.WITH_RATINGS , |
||
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 |
test_rating_format | whether there is a rating column in each line or not |
ignore_first_line | if true, ignore the first line |
static ITimedRatings Read | ( | TextReader | reader, |
IMapping | user_mapping = null , |
||
IMapping | item_mapping = null , |
||
TestRatingFileFormat | test_rating_format = TestRatingFileFormat.WITH_RATINGS , |
||
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 |
test_rating_format | whether there is a rating column in each line or not |
ignore_first_line | if true, ignore the first line |