Cross-validation for item recommendation. More...
Static Public Member Functions | |
| static Dictionary< string, double > | Evaluate (ItemRecommender recommender, ISplit< IPosOnlyFeedback > split, IList< int > test_users, IList< int > candidate_items, CandidateItems candidate_item_mode=CandidateItems.OVERLAP, bool show_results=false) |
| Evaluate on the folds of a dataset split. | |
Cross-validation for item recommendation.
| static Dictionary<string, double> Evaluate | ( | ItemRecommender | recommender, | |
| ISplit< IPosOnlyFeedback > | split, | |||
| IList< int > | test_users, | |||
| IList< int > | candidate_items, | |||
| CandidateItems | candidate_item_mode = CandidateItems.OVERLAP, |
|||
| bool | show_results = false | |||
| ) | [inline, static] |
Evaluate on the folds of a dataset split.
| recommender | an item recommender | |
| split | a dataset split | |
| test_users | a collection of integers with all test users | |
| candidate_items | a collection of integers with all candidate items | |
| candidate_item_mode | the mode used to determine the candidate items | |
| show_results | set to true to print results to STDERR |
1.6.3