ItemsCrossValidation Class Reference

Cross-validation for item recommendation. More...

List of all members.

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.

Detailed Description

Cross-validation for item recommendation.


Member Function Documentation

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.

Parameters:
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
Returns:
a dictionary containing the average results over the different folds of the split

The documentation for this class was generated from the following file:
Generated on Sat Oct 8 18:11:34 2011 for MyMediaLite by  doxygen 1.6.3