U
- type of the usersI
- type of the itemspublic class RandomReranker<U,I> extends PermutationReranker<U,I>
Constructor and Description |
---|
RandomReranker() |
Modifier and Type | Method and Description |
---|---|
int[] |
rerankPermutation(Recommendation<U,I> recommendation,
int maxLength)
Returns the permutation that is applied to the input recommendation
to generate the re-ranked recommendation.
|
getBasePerm, permuteRecommendation, rerankRecommendation
public int[] rerankPermutation(Recommendation<U,I> recommendation, int maxLength)
rerankPermutation
in class PermutationReranker<U,I>
recommendation
- input recommendationmaxLength
- maximum length of the permutationCopyright © 2016. All rights reserved.