Class OriginalDirectUserMetricReranker.OriginalDirectUserMetricUserReranker
java.lang.Object
es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
es.uam.eps.ir.relison.links.recommendation.reranking.local.user.UserMetricReranker.UserMetricUserReranker
es.uam.eps.ir.relison.links.recommendation.reranking.local.user.OriginalDirectUserMetricReranker.OriginalDirectUserMetricUserReranker
- Enclosing class:
- OriginalDirectUserMetricReranker<U>
protected class OriginalDirectUserMetricReranker.OriginalDirectUserMetricUserReranker extends UserMetricReranker.UserMetricUserReranker
The user reranker.
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<U,java.lang.Double>
values
The values.Fields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.user.UserMetricReranker.UserMetricUserReranker
graph, metric
Fields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
novMap, novStats, relStats
-
Constructor Summary
Constructors Constructor Description OriginalDirectUserMetricUserReranker(es.uam.eps.ir.ranksys.core.Recommendation<U,U> recommendation, int maxLength, Graph<U> graph, VertexMetric<U> metric)
Constructor. -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
selectItem, value
-
Field Details
-
values
The values.
-
-
Constructor Details
-
OriginalDirectUserMetricUserReranker
public OriginalDirectUserMetricUserReranker(es.uam.eps.ir.ranksys.core.Recommendation<U,U> recommendation, int maxLength, Graph<U> graph, VertexMetric<U> metric)Constructor.- Parameters:
recommendation
- the recommendation to rerank.maxLength
- the maximum length of the definitive ranking.graph
- the network.metric
- the metric to promote.
-
-
Method Details
-
update
-
nov
Description copied from class:LambdaReranker.LambdaUserReranker
Returns the novelty score of an item.- Specified by:
nov
in classLambdaReranker.LambdaUserReranker
- Parameters:
iv
- item-relevance pair- Returns:
- the novelty of the item
-