MyMediaLite  3.11
Static Public Member Functions | List of all members
ItemsOnline Class Reference

Online evaluation for rankings of items More...

Static Public Member Functions

static ItemRecommendationEvaluationResults EvaluateOnline (this IRecommender recommender, IPosOnlyFeedback test, IPosOnlyFeedback training, IList< int > test_users, IList< int > candidate_items, CandidateItems candidate_item_mode)
 Online evaluation for rankings of items More...
 

Detailed Description

Online evaluation for rankings of items

Member Function Documentation

static ItemRecommendationEvaluationResults EvaluateOnline ( this IRecommender  recommender,
IPosOnlyFeedback  test,
IPosOnlyFeedback  training,
IList< int >  test_users,
IList< int >  candidate_items,
CandidateItems  candidate_item_mode 
)
inlinestatic

Online evaluation for rankings of items

The evaluation protocol works as follows: For every test user, evaluate on the test items, and then add the those test items to the training set and perform an incremental update. The sequence of users is random.

Parameters
recommenderthe item recommender to be evaluated
testtest cases
trainingtraining data (must be connected to the recommender's training data)
test_usersa list of all test user IDs
candidate_itemsa list of all candidate item IDs
candidate_item_modethe mode used to determine the candidate items
Returns
a dictionary containing the evaluation results (averaged by user)

The documentation for this class was generated from the following file: