LBJ2.learn
Class Normalizer

java.lang.Object
  extended by LBJ2.learn.Normalizer
Direct Known Subclasses:
IdentityNormalizer, Log, Sigmoid, Softmax

public abstract class Normalizer
extends java.lang.Object

A normalizer is a function of a ScoreSet producing normalized scores. It is left to the implementing subclass to define the term "normalized".


Constructor Summary
Normalizer()
           
 
Method Summary
abstract  ScoreSet normalize(ScoreSet scores)
          Normalizes the given ScoreSet; its scores are modified in place before it is returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Normalizer

public Normalizer()
Method Detail

normalize

public abstract ScoreSet normalize(ScoreSet scores)
Normalizes the given ScoreSet; its scores are modified in place before it is returned.

Parameters:
scores - The set of scores to normalize.
Returns:
The normalized set of scores.