U - type of the usersI - type of the itemspublic class RerankingRecommender<U,I> extends AbstractFastRecommender<U,I>
iIndex, uIndex| Constructor and Description |
|---|
RerankingRecommender(FastUserIndex<U> uIndex,
FastItemIndex<I> iIndex,
FastRecommender<U,I> recommender,
Reranker<U,I> reranker)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FastRecommendation |
getRecommendation(int uidx,
int maxLength,
IntPredicate filter) |
Recommendation<U,I> |
getRecommendation(U u,
int maxLength,
Predicate<I> filter) |
getRecommendation, getRecommendation, getRecommendation, getRecommendation, getRecommendation, getRecommendation, iidx2item, item2iidx, numItems, numUsers, uidx2user, user2uidxgetRecommendation, getRecommendationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRecommendation, getRecommendationcontainsUser, getAllUidx, getAllUsers, uidx2user, uidx2user, user2uidx, user2uidxcontainsItem, getAllIidx, getAllItems, iidx2item, iidx2item, item2iidx, item2iidxpublic RerankingRecommender(FastUserIndex<U> uIndex, FastItemIndex<I> iIndex, FastRecommender<U,I> recommender, Reranker<U,I> reranker)
uIndex - user indexiIndex - item indexrecommender - input recommenderreranker - re-ranker to apply to input recommenderpublic Recommendation<U,I> getRecommendation(U u, int maxLength, Predicate<I> filter)
getRecommendation in interface Recommender<U,I>getRecommendation in class AbstractFastRecommender<U,I>public FastRecommendation getRecommendation(int uidx, int maxLength, IntPredicate filter)
getRecommendation in interface FastRecommender<U,I>getRecommendation in class AbstractFastRecommender<U,I>Copyright © 2016. All rights reserved.