U - type of the usersI - type of the itemspublic class TDItemNovelty<U,I> extends ItemNovelty<U,I>
ItemNovelty.UserItemNoveltyModel<U,I>UserModel.Model<U>| Constructor and Description |
|---|
TDItemNovelty(Function<U,List<I>> pastRecommendations,
RankingDiscountModel disc)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ItemNovelty.UserItemNoveltyModel<U,I> |
get(U u)
Calculates the user model for user u.
|
getModelinitializepublic TDItemNovelty(Function<U,List<I>> pastRecommendations, RankingDiscountModel disc)
pastRecommendations - previous recommendationsdisc - ranking discount modelprotected ItemNovelty.UserItemNoveltyModel<U,I> get(U u)
UserModelget in class ItemNovelty<U,I>u - the userCopyright © 2016. All rights reserved.