Method | Description | |
---|---|---|
Evaluate ( IItemRecommender recommender, IPosOnlyFeedback test, IPosOnlyFeedback train, |
Evaluation for rankings of filtered items
|
|
GetFilteredItems ( int user_id, IPosOnlyFeedback test, |
For a given user and the test dataset, return a dictionary of items filtered by attributes
|
public static Evaluate ( IItemRecommender recommender, IPosOnlyFeedback test, IPosOnlyFeedback train, |
||
recommender | IItemRecommender | item recommender |
test | IPosOnlyFeedback | test cases |
train | IPosOnlyFeedback | training data |
item_attributes | the item attributes to be used for filtering | |
relevant_users | ICollection |
a collection of integers with all relevant users |
relevant_items | ICollection |
a collection of integers with all relevant items |
return | double>.Dictionary |
public static GetFilteredItems ( int user_id, IPosOnlyFeedback test, |
||
user_id | int | the user ID |
test | IPosOnlyFeedback | the test dataset |
item_attributes | ||
return | ICollection |