|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLBJ2.learn.Normalizer
LBJ2.learn.Softmax
public class Softmax
The softmax normalization function replaces each score with the fraction
of its exponential out of the sum of all scores' exponentials. In other
words, each score xi is replaced by
exp(xi) / sumj exp(xj).
| Constructor Summary | |
|---|---|
Softmax()
|
|
| 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 |
| Constructor Detail |
|---|
public Softmax()
| Method Detail |
|---|
public ScoreSet normalize(ScoreSet scores)
ScoreSet; its scores are modified in
place before it is returned.
normalize in class Normalizerscores - The set of scores to normalize.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||