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 (IDataReader reader, IEntityMapping user_mapping, IEntityMapping item_mapping)
 Read in implicit feedback data from an IDataReader, e.g. a database via DbDataReader.
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 (string filename, IEntityMapping user_mapping=null, IEntityMapping item_mapping=null, bool ignore_first_line=false)
 Read in implicit feedback data from a file.

Detailed Description

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


Member Function Documentation

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:
reader the IDataReader to be read from
user_mapping user IEntityMapping object
item_mapping item IEntityMapping object
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:
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
Returns:
a IPosOnlyFeedback object with the user-wise collaborative data
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:
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
Returns:
a IPosOnlyFeedback object with the user-wise collaborative data

The documentation for this class was generated from the following file:
Generated on Mon Nov 28 19:18:46 2011 for MyMediaLite by  doxygen 1.6.3