Class ProgressiveInverseEdgeMetricReranker.ProgressiveInverseGraphMetricEdgeReranker
java.lang.Object
es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
es.uam.eps.ir.relison.links.recommendation.reranking.local.edge.EdgeMetricReranker.GraphMetricEdgeReranker
es.uam.eps.ir.relison.links.recommendation.reranking.local.edge.ProgressiveInverseEdgeMetricReranker.ProgressiveInverseGraphMetricEdgeReranker
- Enclosing class:
- ProgressiveInverseEdgeMetricReranker<U>
protected class ProgressiveInverseEdgeMetricReranker.ProgressiveInverseGraphMetricEdgeReranker extends EdgeMetricReranker.GraphMetricEdgeReranker
Class that reranks an individual recommendation using the edge metric value in the extended graph (adding all the previous edges).
-
Field Summary
Fields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.edge.EdgeMetricReranker.GraphMetricEdgeReranker
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 ProgressiveInverseGraphMetricEdgeReranker(es.uam.eps.ir.ranksys.core.Recommendation<U,U> recommendation, int maxLength, Graph<U> graph, PairMetric<U> metric)
Constructor. -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
selectItem, value
-
Constructor Details
-
ProgressiveInverseGraphMetricEdgeReranker
public ProgressiveInverseGraphMetricEdgeReranker(es.uam.eps.ir.ranksys.core.Recommendation<U,U> recommendation, int maxLength, Graph<U> graph, PairMetric<U> metric)Constructor.- Parameters:
recommendation
- the recommendation we want to rerank.maxLength
- the maximum length of the ranking.graph
- the graph.metric
- the metric.
-
-
Method Details
-
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
-
update
-