MyMediaLite  3.01
Static Public Member Functions
ItemData Class Reference

Class that contains static methods for reading in implicit feedback data for ItemRecommender. More...

List of all members.

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.

Detailed Description

Class that contains static methods for reading in implicit feedback data for ItemRecommender.


Member Function Documentation

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.

Parameters:
filenamename of the file to be read from
user_mappinguser IEntityMapping object
item_mappingitem IEntityMapping object
ignore_first_lineif true, ignore the first line
Returns:
a IPosOnlyFeedback object with the user-wise collaborative data
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.

Parameters:
readerthe TextReader to be read from
user_mappinguser IEntityMapping object
item_mappingitem IEntityMapping object
ignore_first_lineif true, ignore the first line
Returns:
a IPosOnlyFeedback object with the user-wise collaborative data
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.

Parameters:
readerthe IDataReader to be read from
user_mappinguser IEntityMapping object
item_mappingitem IEntityMapping object
Returns:
a IPosOnlyFeedback object with the user-wise collaborative data

The documentation for this class was generated from the following file: