protected class AlphaXQuAD.UserAlphaXQuAD extends LambdaReranker.LambdaUserReranker
AlphaXQuAD.novMap, novStats, relStatsmaxLength, recommendation| Constructor and Description |
|---|
UserAlphaXQuAD(Recommendation<U,I> recommendation,
int maxLength)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
nov(Tuple2od<I> iv)
Returns the novelty score of an item.
|
protected void |
update(Tuple2od<I> biv)
Updates the value of the objective function after a selection.
|
norm, selectItem, valuererankPermutationpublic UserAlphaXQuAD(Recommendation<U,I> recommendation, int maxLength)
recommendation - input recommendation to be re-rankedmaxLength - maximum length to be re-ranked with xQuADprotected double nov(Tuple2od<I> iv)
LambdaReranker.LambdaUserRerankernov in class LambdaReranker.LambdaUserRerankeriv - item-relevance pairprotected void update(Tuple2od<I> biv)
GreedyReranker.GreedyUserRerankerupdate in class GreedyReranker.GreedyUserReranker<U,I>biv - item-score pair that has been selected to
be added to the re-rankingCopyright © 2016. All rights reserved.