LBJ2.learn
Class Log

java.lang.Object
  extended by LBJ2.learn.Normalizer
      extended by LBJ2.learn.Log

public class Log
extends Normalizer

Simply turns each score s in the ScoreSet returned by the specified Normalizer into log(s).


Field Summary
protected  Normalizer first
          This normalizer runs before applying the log function.
 
Constructor Summary
Log()
          This constructor provided for use by the LBJ compiler only.
Log(Normalizer n)
          Initializing constructor.
 
Method Summary
 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
 

Field Detail

first

protected Normalizer first
This normalizer runs before applying the log function.

Constructor Detail

Log

public Log()
This constructor provided for use by the LBJ compiler only.


Log

public Log(Normalizer n)
Initializing constructor.

Parameters:
n - This normalizer runs before applying the log function.
Method Detail

normalize

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

Specified by:
normalize in class Normalizer
Parameters:
scores - The set of scores to normalize.
Returns:
The normalized set of scores.