Package | Description |
---|---|
edu.illinois.cs.cogcomp.lbjava.infer | |
edu.illinois.cs.cogcomp.lbjava.learn |
Modifier and Type | Method and Description |
---|---|
Normalizer |
Inference.getNormalizer(Learner c)
Returns the normalization function associated with the given classifier in this inference.
|
Modifier and Type | Class and Description |
---|---|
class |
IdentityNormalizer
This
Normalizer simply returns the same ScoreSet it was passed as input
without modifying anything. |
class |
Log
Simply turns each score s in the
ScoreSet returned by the specified
Normalizer into log(s). |
class |
Sigmoid
The sigmoid normalization function replaces each score
xi with
1 / (1 + exp(-alpha xi)) , where alpha is a user-specified
constant. |
class |
Softmax
The softmax normalization function replaces each score with the fraction of its exponential out
of the sum of all scores' exponentials.
|
Modifier and Type | Field and Description |
---|---|
protected Normalizer |
Log.first
This normalizer runs before applying the log function.
|
Constructor and Description |
---|
Log(Normalizer n)
Initializing constructor.
|
Copyright © 2016. All rights reserved.