U
- type of the usersI
- type of the itemsF
- type of the featurespublic class AlphaNDCG<U,I,F> extends AbstractRecommendationMetric<U,I>
Constructor and Description |
---|
AlphaNDCG(int cutoff,
double alpha,
FeatureData<I,F,?> featureData,
BinaryRelevanceModel<U,I> relModel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
public AlphaNDCG(int cutoff, double alpha, FeatureData<I,F,?> featureData, BinaryRelevanceModel<U,I> relModel)
cutoff
- maximum length of the recommendations lists to evaluatealpha
- tolerance to redundancy parameterfeatureData
- feature datarelModel
- relevance modelpublic double evaluate(Recommendation<U,I> recommendation)
recommendation
- recommendation listCopyright © 2016. All rights reserved.