java.lang.Object
Type Parameters:
U - type of the users.
All Implemented Interfaces:
GlobalReranker<U,​U>
Direct Known Subclasses:
OriginalDirectUserMetricReranker, OriginalInverseUserMetricReranker, ProgressiveDirectUserMetricReranker, ProgressiveInverseUserMetricReranker

public abstract class UserMetricReranker<U>
extends GlobalRankingLambdaReranker<U,​U>
Global reranker strategy that reorders the candidate users according to a user metric that we want to optimize.
  • Field Details

  • Constructor Details

    • UserMetricReranker

      public UserMetricReranker​(double lambda, int cutoff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph, VertexMetric<U> metric)
      Constructor.
      Parameters:
      lambda - trade-off between the recommendation score and the novelty/diversity value.
      cutoff - number of elements to take.
      norm - the normalization strategy.
      graph - the original graph.
      metric - the metric we want to optimize.