public class SoftmaxNormalizer extends ZScoreNormalizer
Usage: <r>
| Constructor and Description |
|---|
SoftmaxNormalizer() |
| Modifier and Type | Method and Description |
|---|---|
double |
getR()
Get the scaling constant
|
protected double |
normalizationFunction(double variable,
double mean,
double stdev)
Compute the normalized value of a variable
|
java.lang.String |
printUsage()
Print out required format for options.
|
protected double |
restorationFunction(double variable,
double mean,
double stdev)
Compute the restored value a variable
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
void |
setR(double R)
Set the scaling constant
|
clone, computeAttributeStatistics, computeClassStatistics, normalizeAttributes, normalizeClassVariable, prepareAttributeArrays, restoreAttributes, restoreClassVariablenormalizeAttributes, normalizeClassVariable, restoreAttributes, restoreClassVariable, trainOnAttributes, trainOnMeasuredClassabout, isTrained, normalize, printCommand, printDescription, restore, runCommand, setToNormalizeAttributes, setToNormalizeClass, test, train, willNormalizeAttributes, willNormalizeClasspublic void setOptions(java.util.List<java.lang.Object> Options)
throws java.lang.Exception
OptionssetOptions in interface OptionssetOptions in class ZScoreNormalizerOptions - Array of options as Objects - can be nulljava.lang.Exception - if problem with inputspublic java.lang.String printUsage()
OptionsprintUsage in interface OptionsprintUsage in class ZScoreNormalizerpublic void setR(double R)
R - Scaling constant (should be positive, default is 1)public double getR()
protected double normalizationFunction(double variable,
double mean,
double stdev)
ZScoreNormalizernormalizationFunction in class ZScoreNormalizervariable - Value of variable to be normalizedmean - Mean of this variable (from training set)stdev - Standard deviation of this variableprotected double restorationFunction(double variable,
double mean,
double stdev)
ZScoreNormalizerrestorationFunction in class ZScoreNormalizervariable - Value of variable to be restoredmean - Mean of variable (from training set)stdev - Measured standard deviation of variable