MyMediaLite  3.04
Public Member Functions | Protected Attributes
PairwiseWins Class Reference

A simple Condorcet-style voting mechanism. More...

Inheritance diagram for PairwiseWins:
GroupRecommender IGroupRecommender

List of all members.

Public Member Functions

 PairwiseWins (IRecommender recommender)
override IList< int > RankItems (ICollection< int > users, ICollection< int > items)
 Rank items for a given group of users.

Protected Attributes

IRecommender recommender
 The underlying recommender that produces the user-wise item scores.

Detailed Description

A simple Condorcet-style voting mechanism.

runtime complexity O(|U| |I|^2)


Member Function Documentation

override IList<int> RankItems ( ICollection< int >  users,
ICollection< int >  items 
) [inline, virtual]

Rank items for a given group of users.

Parameters:
usersthe users
itemsthe items to be ranked
Returns:
a ranked list of items, highest-ranking item comes first

Implements GroupRecommender.


Member Data Documentation

IRecommender recommender [protected, inherited]

The underlying recommender that produces the user-wise item scores.


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