U
- type of the usersI
- type of the itemspublic static interface RelevanceModel.UserRelevanceModel<U,I> extends UserModel.Model<U>
Modifier and Type | Method and Description |
---|---|
double |
gain(I item)
Gain obtained by recommending the item.
|
boolean |
isRelevant(I item)
Determines whether an item is relevant to the user or not
|
boolean isRelevant(I item)
item
- item to be judged as relevantdouble gain(I item)
item
- item whose gain is calculatedCopyright © 2016. All rights reserved.