Class StatsBasedNormalizer<I>
java.lang.Object
es.uam.eps.ir.relison.links.recommendation.reranking.normalizer.StatsBasedNormalizer<I>
- Type Parameters:
I
- type of the items.
- All Implemented Interfaces:
Normalizer<I>
- Direct Known Subclasses:
MinMaxNormalizer
,ZScoreNormalizer
public abstract class StatsBasedNormalizer<I> extends java.lang.Object implements Normalizer<I>
Normalizer based on the data statistics.
-
Field Summary
Fields Modifier and Type Field Description protected es.uam.eps.ir.ranksys.core.util.Stats
stats
Data statistics. -
Constructor Summary
Constructors Constructor Description StatsBasedNormalizer()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface es.uam.eps.ir.relison.links.recommendation.reranking.normalizer.Normalizer
add, norm, norm
-
Field Details
-
stats
protected final es.uam.eps.ir.ranksys.core.util.Stats statsData statistics.
-
-
Constructor Details
-
StatsBasedNormalizer
public StatsBasedNormalizer()
-
-
Method Details
-
add
Description copied from interface:Normalizer
Adds an item-value pair to the list.- Specified by:
add
in interfaceNormalizer<I>
- Parameters:
i
- the item identifier.val
- the value of the item.
-