public class Sigmoid extends Normalizer
xi with
1 / (1 + exp(-alpha xi)), where alpha is a user-specified
constant.| Modifier and Type | Field and Description |
|---|---|
protected double |
alpha
The user-specified constant described above.
|
| Constructor and Description |
|---|
Sigmoid()
Default constructor; sets
alpha to 1. |
Sigmoid(double a)
Initializing constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAlpha()
Retrieves the value of
alpha. |
ScoreSet |
normalize(ScoreSet scores)
Normalizes the given
ScoreSet; its scores are modified in place before it is
returned. |
public Sigmoid()
alpha to 1.public Sigmoid(double a)
a - The setting for alpha.public double getAlpha()
alpha.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.Copyright © 2016. All rights reserved.