Class ClusteringCoefficientComplementReranker<U>
java.lang.Object
es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.SwapReranker<U,I>
es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.SwapGreedyReranker<U,I>
es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.SwapLambdaReranker<U,U>
es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.GraphSwapReranker<U>
es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.graph.AbstractClusteringCoefficientReranker<U>
es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.graph.ClusteringCoefficientComplementReranker<U>
- Type Parameters:
U
- Type of the users.
- All Implemented Interfaces:
GlobalReranker<U,U>
public class ClusteringCoefficientComplementReranker<U> extends AbstractClusteringCoefficientReranker<U>
Swap reranker that demotes the global clustering coefficient of the network.
- See Also:
ClusteringCoefficient
-
Field Summary
Fields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.GraphSwapReranker
graph, recs
Fields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.SwapLambdaReranker
novMap, novStats, relStats
Fields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.SwapGreedyReranker
cutOff
Fields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.SwapReranker
globalvalue
-
Constructor Summary
Constructors Constructor Description ClusteringCoefficientComplementReranker(double lambda, int cutoff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph)
Constructor -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.graph.AbstractClusteringCoefficientReranker
computeGlobalValue, innerUpdate, newcoef, newcoefadd, newcoefdelete, novAdd, novAddDelete, novDelete, update
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.GraphSwapReranker
nov, rerankRecommendations, update
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.SwapLambdaReranker
rerankPermutation, selectItem, value, valuetop
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.global.swap.SwapGreedyReranker
getBasePerm, rerankRecommendation
-
Constructor Details
-
ClusteringCoefficientComplementReranker
public ClusteringCoefficientComplementReranker(double lambda, int cutoff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph)Constructor- Parameters:
lambda
- trade-off between the original and novelty score (clustering coefficient)cutoff
- maximum length of the recommendation rankingnorm
- the normalization scheme.graph
- the original graph.
-