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 (string filename, IMapping user_mapping=null, IMapping item_mapping=null, bool ignore_first_line=false) |
| | Read in implicit feedback data from a file.
|
| static IPosOnlyFeedback | Read (TextReader reader, IMapping user_mapping=null, IMapping item_mapping=null, bool ignore_first_line=false) |
| | Read in implicit feedback data from a TextReader.
|
| static IPosOnlyFeedback | Read (IDataReader reader, IMapping user_mapping, IMapping item_mapping) |
| | Read in implicit feedback data from an IDataReader, e.g. a database via DbDataReader.
|
Detailed Description
Class that contains static methods for reading in implicit feedback data for ItemRecommender.
Member Function Documentation
Read in implicit feedback data from a file.
- Parameters:
-
| filename | name of the file to be read from |
| user_mapping | user IMapping object |
| item_mapping | item IMapping object |
| ignore_first_line | if true, ignore the first line |
- Returns:
- a IPosOnlyFeedback object with the user-wise collaborative data
Read in implicit feedback data from a TextReader.
- Parameters:
-
| reader | the TextReader to be read from |
| user_mapping | user IMapping object |
| item_mapping | item IMapping object |
| ignore_first_line | if true, ignore the first line |
- Returns:
- a IPosOnlyFeedback object with the user-wise collaborative data
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 IMapping object |
| item_mapping | item IMapping object |
- Returns:
- a IPosOnlyFeedback object with the user-wise collaborative data
The documentation for this class was generated from the following file: