RatingPredictionStatic Class Reference

Class that offers methods for reading in static rating data. More...

List of all members.

Static Public Member Functions

static IRatings Read (TextReader reader, int size, double min_rating, double max_rating, IEntityMapping user_mapping, IEntityMapping item_mapping, RatingType rating_type)
 Read in static rating data from a TextReader.
static IRatings Read (string filename, double min_rating, double max_rating, IEntityMapping user_mapping, IEntityMapping item_mapping, RatingType rating_type)
 Read in static rating data from a file.

Detailed Description

Class that offers methods for reading in static rating data.


Member Function Documentation

static IRatings Read ( TextReader  reader,
int  size,
double  min_rating,
double  max_rating,
IEntityMapping  user_mapping,
IEntityMapping  item_mapping,
RatingType  rating_type 
) [static]

Read in static rating data from a TextReader.

Parameters:
reader the TextReader to read from
size the number of ratings in the file
min_rating the lowest possible rating value, warn on out of range ratings
max_rating the highest possible rating value, warn on out of range ratings
user_mapping mapping object for user IDs
item_mapping mapping object for item IDs
rating_type the data type to be used for storing the ratings
Returns:
the rating data
static IRatings Read ( string  filename,
double  min_rating,
double  max_rating,
IEntityMapping  user_mapping,
IEntityMapping  item_mapping,
RatingType  rating_type 
) [static]

Read in static rating data from a file.

Parameters:
filename the name of the file to read from, "-" if STDIN
min_rating the lowest possible rating value, warn on out of range ratings
max_rating the highest possible rating value, warn on out of range ratings
user_mapping mapping object for user IDs
item_mapping mapping object for item IDs
rating_type the data type to be used for storing the ratings
Returns:
the rating data

The documentation for this class was generated from the following file:
Generated on Tue May 24 12:44:17 2011 for MyMediaLite by  doxygen 1.6.3