Class Normalizers
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.
-
Constructor Details
-
Normalizers
public Normalizers()
-
-
Method Details
-
noNorm
It does not apply any normalization.- Type Parameters:
I
- type of the users.- Returns:
- a normalization scheme which does not normalize.
-
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
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
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.
-