Interface GlobalReranker<U,I>
- Type Parameters:
U
- type of the users.I
- type of the items.
- All Known Implementing Classes:
AbstractClusteringCoefficientReranker
,AbstractCommunityDegreeGiniComplement
,AbstractCommunityEdgeGiniComplement
,AbstractHeuristicNeighborOverlapReranker
,AbstractNeighborOverlapReranker
,AlternativeSemiCompleteCommunityEdgeGiniComplement
,ClusteringCoefficientComplement
,ClusteringCoefficientComplement
,ClusteringCoefficientComplementReranker
,ClusteringCoefficientReranker
,CommunityReranker
,CompleteCommunityDegreeGiniComplement
,CompleteCommunityEdgeGiniComplement
,CompleteCommunityReranker
,CompleteCommunityReranker
,DegreeGiniReranker
,DirectEdgeMetricReranker
,DirectGraphMetricReranker
,DirectGraphMetricReranker
,EdgeMetricReranker
,EdgeMetricReranker
,EmbedednessReranker
,GlobalRankingGreedyReranker
,GlobalRankingLambdaReranker
,GraphLocalReranker
,GraphMetricReranker
,GraphMetricReranker
,GraphSwapReranker
,HeuristicEmbedednessReranker
,HeuristicWeaknessReranker
,InterCommunityDegreeGiniComplement
,InterCommunityDegreeGiniComplement
,InterCommunityDegreeGiniComplement
,InterCommunityEdgeGiniComplement
,InterCommunityEdgeGiniComplement
,InterCommunityEdgeGiniComplement
,InterCommunityReranker
,InterCommunityReranker
,InverseCommunitySize
,InverseCommunitySize
,InverseEdgeMetricReranker
,InverseGraphMetricReranker
,InverseGraphMetricReranker
,LocalGreedyReranker
,LocalLambdaReranker
,LocalRandomReranker
,LocalReranker
,ModularityComplement
,OriginalDirectEdgeMetricReranker
,OriginalDirectUserMetricReranker
,OriginalDirectUserMetricReranker
,OriginalInverseEdgeMetricReranker
,OriginalInverseUserMetricReranker
,OriginalInverseUserMetricReranker
,OuterAlternativeSemiCompleteCommunityEdgeGiniComplement
,OuterCompleteCommunityDegreeGiniComplement
,OuterCompleteCommunityEdgeGiniComplement
,OuterInterCommunityDegreeGiniComplement
,OuterInterCommunityEdgeGiniComplement
,OuterSemiCompleteCommunityEdgeGiniComplement
,OuterSizeNormalizedCompleteCommunityDegreeGiniComplement
,OuterSizeNormalizedCompleteCommunityEdgeGiniComplement
,OuterSizeNormalizedInterCommunityDegreeGiniComplement
,OuterSizeNormalizedInterCommunityEdgeGiniComplement
,OuterSizeNormalizedSemiCompleteCommunityEdgeGiniComplement
,ProgressiveDirectEdgeMetricReranker
,ProgressiveDirectUserMetricReranker
,ProgressiveDirectUserMetricReranker
,ProgressiveInverseEdgeMetricReranker
,ProgressiveInverseUserMetricReranker
,ProgressiveInverseUserMetricReranker
,SemiCompleteCommunityEdgeGiniComplement
,SizeNormalizedCompleteCommunityDegreeGiniComplement
,SizeNormalizedCompleteCommunityEdgeGiniComplement
,SizeNormalizedInterCommunityDegreeGiniComplement
,SizeNormalizedInterCommunityEdgeGiniComplement
,SizeNormalizedSemiCompleteCommunityEdgeGiniComplement
,StrongTiesReranker
,SwapGreedyReranker
,SwapLambdaReranker
,SwapReranker
,UserMetricReranker
,UserMetricReranker
,WeaknessReranker
,WeakTiesReranker
public interface GlobalReranker<U,I>
Interface for defining reranking strategies which change the position of items in recommendation lists
to optimize global properties of the system beyond relevance.
Global rerankers go user by user, and consider the recommendations made to the previously visited users
when optimizing the global value.
-
Method Summary
Modifier and Type Method Description java.util.stream.Stream<es.uam.eps.ir.ranksys.core.Recommendation<U,I>>
rerankRecommendations(java.util.stream.Stream<es.uam.eps.ir.ranksys.core.Recommendation<U,I>> recommendation, int maxLength)
Reranks a set of recommendations.
-
Method Details
-
rerankRecommendations
java.util.stream.Stream<es.uam.eps.ir.ranksys.core.Recommendation<U,I>> rerankRecommendations(java.util.stream.Stream<es.uam.eps.ir.ranksys.core.Recommendation<U,I>> recommendation, int maxLength)Reranks a set of recommendations.- Parameters:
recommendation
- a stream containing all the recommendations to rerank.maxLength
- maximum length of the definitive ranking for each user.- Returns:
- a stream of recommendations containing the definitive rankings.
-