MyMediaLite
3.01
|
Class that contains static methods for reading in implicit feedback data for ItemRecommender. More...
Static Public Member Functions | |
static IPosOnlyFeedback | Read (string filename, IEntityMapping user_mapping=null, IEntityMapping item_mapping=null, bool ignore_first_line=false) |
Read in implicit feedback data from a file. | |
static IPosOnlyFeedback | Read (TextReader reader, IEntityMapping user_mapping=null, IEntityMapping item_mapping=null, bool ignore_first_line=false) |
Read in implicit feedback data from a TextReader. | |
static IPosOnlyFeedback | Read (IDataReader reader, IEntityMapping user_mapping, IEntityMapping item_mapping) |
Read in implicit feedback data from an IDataReader, e.g. a database via DbDataReader. |
Class that contains static methods for reading in implicit feedback data for ItemRecommender.
static IPosOnlyFeedback Read | ( | string | filename, |
IEntityMapping | user_mapping = null , |
||
IEntityMapping | item_mapping = null , |
||
bool | ignore_first_line = false |
||
) | [inline, static] |
Read in implicit feedback data from a file.
filename | name of the file to be read from |
user_mapping | user IEntityMapping object |
item_mapping | item IEntityMapping object |
ignore_first_line | if true, ignore the first line |
static IPosOnlyFeedback Read | ( | TextReader | reader, |
IEntityMapping | user_mapping = null , |
||
IEntityMapping | item_mapping = null , |
||
bool | ignore_first_line = false |
||
) | [inline, static] |
Read in implicit feedback data from a TextReader.
reader | the TextReader to be read from |
user_mapping | user IEntityMapping object |
item_mapping | item IEntityMapping object |
ignore_first_line | if true, ignore the first line |
static IPosOnlyFeedback Read | ( | IDataReader | reader, |
IEntityMapping | user_mapping, | ||
IEntityMapping | item_mapping | ||
) | [inline, static] |
Read in implicit feedback data from an IDataReader, e.g. a database via DbDataReader.
reader | the IDataReader to be read from |
user_mapping | user IEntityMapping object |
item_mapping | item IEntityMapping object |