Class that contains static methods for reading in implicit feedback data for ItemRecommender, derived from rating data
More...
|
static IPosOnlyFeedback | Read (string filename, float rating_threshold, IMapping user_mapping=null, IMapping item_mapping=null, bool ignore_first_line=false) |
| Read in rating data which will be interpreted as implicit feedback data from a file More...
|
|
static IPosOnlyFeedback | Read (TextReader reader, float rating_threshold, IMapping user_mapping=null, IMapping item_mapping=null, bool ignore_first_line=false) |
| Read in rating data which will be interpreted as implicit feedback data from a TextReader More...
|
|
static IPosOnlyFeedback | Read (IDataReader reader, float rating_threshold, IMapping user_mapping, IMapping item_mapping) |
| Read in rating data which will be interpreted as implicit feedback data from an IDataReader, e.g. a database via DbDataReader More...
|
|
Class that contains static methods for reading in implicit feedback data for ItemRecommender, derived from rating data
static IPosOnlyFeedback Read |
( |
string |
filename, |
|
|
float |
rating_threshold, |
|
|
IMapping |
user_mapping = null , |
|
|
IMapping |
item_mapping = null , |
|
|
bool |
ignore_first_line = false |
|
) |
| |
|
inlinestatic |
Read in rating data which will be interpreted as implicit feedback data from a file
- Parameters
-
filename | name of the file to be read from |
rating_threshold | the minimum rating value needed to be accepted as positive feedback |
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
static IPosOnlyFeedback Read |
( |
TextReader |
reader, |
|
|
float |
rating_threshold, |
|
|
IMapping |
user_mapping = null , |
|
|
IMapping |
item_mapping = null , |
|
|
bool |
ignore_first_line = false |
|
) |
| |
|
inlinestatic |
Read in rating data which will be interpreted as implicit feedback data from a TextReader
- Parameters
-
reader | the TextReader to be read from |
rating_threshold | the minimum rating value needed to be accepted as positive feedback |
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 rating data which will be interpreted as implicit feedback data from an IDataReader, e.g. a database via DbDataReader
- Parameters
-
reader | the IDataReader to be read from |
rating_threshold | the minimum rating value needed to be accepted as positive feedback |
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:
- ItemDataRatingThreshold.cs