protected class BinomialDiversityReranker.BinomialDiversityUserReranker extends LambdaReranker.LambdaUserReranker
BinomialDiversityReranker.novMap, novStats, relStatsmaxLength, recommendation| Constructor and Description |
|---|
BinomialDiversityUserReranker(Recommendation<U,I> recommendation,
int maxLength)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
nov(Tuple2od<I> itemValue)
Returns the novelty score of an item.
|
protected void |
update(Tuple2od<I> bestItemValue)
Updates the value of the objective function after a selection.
|
norm, selectItem, valuererankPermutationpublic BinomialDiversityUserReranker(Recommendation<U,I> recommendation, int maxLength)
recommendation - input recommendation to be re-rankedmaxLength - number of items to be greedily selectedprotected double nov(Tuple2od<I> itemValue)
LambdaReranker.LambdaUserRerankernov in class LambdaReranker.LambdaUserRerankeritemValue - item-relevance pairprotected void update(Tuple2od<I> bestItemValue)
GreedyReranker.GreedyUserRerankerupdate in class GreedyReranker.GreedyUserReranker<U,I>bestItemValue - item-score pair that has been selected to
be added to the re-rankingCopyright © 2016. All rights reserved.