public class QuasiSigmoidDecayFunction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private double |
scale
See
value(long) . |
private Logistic |
sigmoid
Sigmoid.
|
Constructor and Description |
---|
QuasiSigmoidDecayFunction(double initValue,
double slope,
long numCall)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
double |
value(long numCall)
Computes the value of the learning factor.
|
private final Logistic sigmoid
private final double scale
value(long)
.public QuasiSigmoidDecayFunction(double initValue, double slope, long numCall)
f
will have the following properties:
f(0) = initValue
numCall
is the inflexion pointslope = f'(numCall)
initValue
- Initial value, i.e. value(0)
.slope
- Value of the function derivative at numCall
.numCall
- Inflexion point.NotStrictlyPositiveException
- if initValue <= 0
.NumberIsTooLargeException
- if slope >= 0
.NotStrictlyPositiveException
- if numCall <= 0
.Copyright (c) 2003-2014 Apache Software Foundation