protected class AlphaXQuAD.UserAlphaXQuAD extends LambdaReranker.LambdaUserReranker
AlphaXQuAD
.novMap, novStats, relStats
maxLength, 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, value
rerankPermutation
public 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.LambdaUserReranker
nov
in class LambdaReranker.LambdaUserReranker
iv
- item-relevance pairprotected void update(Tuple2od<I> biv)
GreedyReranker.GreedyUserReranker
update
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.