|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLBJ2.learn.Normalizer
LBJ2.learn.Sigmoid
public class Sigmoid
The sigmoid normalization function replaces each score
xi with
1 / (1 + exp(-alpha xi)), where alpha
is a user-specified constant.
| Field Summary | |
|---|---|
protected double |
alpha
The user-specified constant described above. |
| Constructor Summary | |
|---|---|
Sigmoid()
Default constructor; sets alpha to 1. |
|
Sigmoid(double a)
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 |
|---|
protected double alpha
| Constructor Detail |
|---|
public Sigmoid()
alpha to 1.
public Sigmoid(double a)
a - The setting for alpha.| 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 | |||||||||