U - type of the usersI - type of the itemspublic class ETD<U,I> extends ItemNoveltyMetric<U,I>
novelty| Constructor and Description |
|---|
ETD(int cutoff,
TDItemNovelty<U,I> novelty,
RelevanceModel<U,I> relevanceModel,
RankingDiscountModel disc)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
public ETD(int cutoff,
TDItemNovelty<U,I> novelty,
RelevanceModel<U,I> relevanceModel,
RankingDiscountModel disc)
cutoff - maximum size of the recommendation list that is evaluatednovelty - novelty modelrelevanceModel - relevance modeldisc - ranking discount modelpublic double evaluate(Recommendation<U,I> recommendation)
evaluate in interface RecommendationMetric<U,I>evaluate in class ItemNoveltyMetric<U,I>recommendation - recommendation listCopyright © 2016. All rights reserved.