Type Parameters:
U - type of the users
All Implemented Interfaces:
GlobalReranker<U,​U>

public class EmbedednessReranker<U>
extends AbstractNeighborOverlapReranker<U>
Swap reranker for optimizing the average embeddedness of the graph.
  • Constructor Details

    • EmbedednessReranker

      public EmbedednessReranker​(double lambda, int cutOff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph)
      Constructor
      Parameters:
      cutOff - the maximum length of the definitive recommendation rankings.
      lambda - trade-off between the average embeddedness and the original score.
      norm - the normalization scheme.
      graph - the original graph