C# Class MyMediaLite.IO.ItemData

Class that contains static methods for reading in implicit feedback data for ItemRecommender
Mostrar archivo Open project: zenogantner/MyMediaLite

Public Methods

Method Description
Read ( IDataReader reader, IMapping user_mapping, IMapping item_mapping ) : IPosOnlyFeedback

Read in implicit feedback data from an IDataReader, e.g. a database via DbDataReader

Read ( TextReader reader, IMapping user_mapping = null, IMapping item_mapping = null, bool ignore_first_line = false ) : IPosOnlyFeedback

Read in implicit feedback data from a TextReader

Read ( string filename, IMapping user_mapping = null, IMapping item_mapping = null, bool ignore_first_line = false ) : IPosOnlyFeedback

Read in implicit feedback data from a file

Method Details

Read() public static method

Read in implicit feedback data from an IDataReader, e.g. a database via DbDataReader
public static Read ( IDataReader reader, IMapping user_mapping, IMapping item_mapping ) : IPosOnlyFeedback
reader IDataReader the IDataReader to be read from
user_mapping IMapping user object
item_mapping IMapping item object
return IPosOnlyFeedback

Read() public static method

Read in implicit feedback data from a TextReader
public static Read ( TextReader reader, IMapping user_mapping = null, IMapping item_mapping = null, bool ignore_first_line = false ) : IPosOnlyFeedback
reader System.IO.TextReader the TextReader to be read from
user_mapping IMapping user object
item_mapping IMapping item object
ignore_first_line bool if true, ignore the first line
return IPosOnlyFeedback

Read() public static method

Read in implicit feedback data from a file
public static Read ( string filename, IMapping user_mapping = null, IMapping item_mapping = null, bool ignore_first_line = false ) : IPosOnlyFeedback
filename string name of the file to be read from
user_mapping IMapping user object
item_mapping IMapping item object
ignore_first_line bool if true, ignore the first line
return IPosOnlyFeedback