C# Class MyMediaLite.IO.RatingPredictionStatic

Class that offers methods for reading in static rating data
ファイルを表示 Open project: zenogantner/MML-KDD

Public Methods

Method Description
Read ( TextReader reader, int size, IEntityMapping user_mapping, IEntityMapping item_mapping, RatingType rating_type ) : IRatings

Read in static rating data from a TextReader

Read ( string filename, IEntityMapping user_mapping, IEntityMapping item_mapping, RatingType rating_type ) : IRatings

Read in static rating data from a file

Method Details

Read() public static method

Read in static rating data from a TextReader
public static Read ( TextReader reader, int size, IEntityMapping user_mapping, IEntityMapping item_mapping, RatingType rating_type ) : IRatings
reader System.IO.TextReader the to read from
size int the number of ratings in the file
user_mapping IEntityMapping mapping object for user IDs
item_mapping IEntityMapping mapping object for item IDs
rating_type RatingType the data type to be used for storing the ratings
return IRatings

Read() public static method

Read in static rating data from a file
public static Read ( string filename, IEntityMapping user_mapping, IEntityMapping item_mapping, RatingType rating_type ) : IRatings
filename string the name of the file to read from, "-" if STDIN
user_mapping IEntityMapping mapping object for user IDs
item_mapping IEntityMapping mapping object for item IDs
rating_type RatingType the data type to be used for storing the ratings
return IRatings