java.lang.Object
es.uam.eps.ir.relison.links.recommendation.reranking.normalizer.Normalizers

public class Normalizers
extends java.lang.Object
Examples of normalizers.
  • Constructor Summary

    Constructors 
    Constructor Description
    Normalizers()  
  • Method Summary

    Modifier and Type Method Description
    static <I> java.util.function.Supplier<Normalizer<I>> minmax()
    Obtains a normalizer that normalizes according to the maximum and minimum values in the scores.
    static <I> java.util.function.Supplier<Normalizer<I>> noNorm()
    It does not apply any normalization.
    static <I> java.util.function.Supplier<Normalizer<I>> ranksim()
    Obtains a normalizer that normalizes according to ranking position.
    static <I> java.util.function.Supplier<Normalizer<I>> zscore()
    Obtains a normalizer that normalizes scores so they follow a normal distribution.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • noNorm

      public static <I> java.util.function.Supplier<Normalizer<I>> noNorm()
      It does not apply any normalization.
      Type Parameters:
      I - type of the users.
      Returns:
      a normalization scheme which does not normalize.
    • ranksim

      public static <I> java.util.function.Supplier<Normalizer<I>> ranksim()
      Obtains a normalizer that normalizes according to ranking position.
      Type Parameters:
      I - type of the users.
      Returns:
      a normalization scheme which normalizes according to ranking position.
    • minmax

      public static <I> java.util.function.Supplier<Normalizer<I>> minmax()
      Obtains a normalizer that normalizes according to the maximum and minimum values in the scores.
      Type Parameters:
      I - type of the users.
      Returns:
      a normalization scheme that normalizes according to the maximum and minimum values in the scores.
    • zscore

      public static <I> java.util.function.Supplier<Normalizer<I>> zscore()
      Obtains a normalizer that normalizes scores so they follow a normal distribution.
      Type Parameters:
      I - type of the users.
      Returns:
      a normalization scheme that normalizes scores so they follow a normal distribution.