MyMediaLite  3.04
Static Public Member Functions
TimedRatingData Class Reference

Class that offers methods for reading in rating data with time information. More...

List of all members.

Static Public Member Functions

static ITimedRatings Read (string filename, IMapping user_mapping=null, IMapping item_mapping=null, 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, bool ignore_first_line=false)
 Read in rating data from a TextReader.

Detailed Description

Class that offers methods for reading in rating data with time information.


Member Function Documentation

static ITimedRatings Read ( string  filename,
IMapping  user_mapping = null,
IMapping  item_mapping = null,
bool  ignore_first_line = false 
) [inline, static]

Read in rating data from a file.

Parameters:
filenamethe name of the file to read from
user_mappingmapping object for user IDs
item_mappingmapping object for item IDs
ignore_first_lineif true, ignore the first line
Returns:
the rating data
static ITimedRatings Read ( TextReader  reader,
IMapping  user_mapping = null,
IMapping  item_mapping = null,
bool  ignore_first_line = false 
) [inline, static]

Read in rating data from a TextReader.

Parameters:
readerthe TextReader to read from
user_mappingmapping object for user IDs
item_mappingmapping object for item IDs
ignore_first_lineif true, ignore the first line
Returns:
the rating data

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