Class InverseGraphMetricReranker.DirectGraphMetricUserReranker
java.lang.Object
es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
es.uam.eps.ir.relison.links.recommendation.reranking.local.graph.GraphMetricReranker.GraphMetricUserReranker
es.uam.eps.ir.relison.links.recommendation.reranking.local.graph.InverseGraphMetricReranker.DirectGraphMetricUserReranker
- Enclosing class:
- InverseGraphMetricReranker<U>
protected class InverseGraphMetricReranker.DirectGraphMetricUserReranker extends GraphMetricReranker.GraphMetricUserReranker
The individual reranker.
-
Field Summary
Fields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.graph.GraphMetricReranker.GraphMetricUserReranker
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 DirectGraphMetricUserReranker(es.uam.eps.ir.ranksys.core.Recommendation<U,U> recommendation, int maxLength, Graph<U> graph, GraphMetric<U> metric)
Constructor. -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.graph.GraphMetricReranker.GraphMetricUserReranker
update
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
selectItem, value
-
Constructor Details
-
DirectGraphMetricUserReranker
public DirectGraphMetricUserReranker(es.uam.eps.ir.ranksys.core.Recommendation<U,U> recommendation, int maxLength, Graph<U> graph, GraphMetric<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
-
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
-