Class QuasiSigmoidDecayFunction
- java.lang.Object
-
- org.apache.commons.math3.ml.neuralnet.sofm.util.QuasiSigmoidDecayFunction
-
public class QuasiSigmoidDecayFunction extends java.lang.ObjectDecay function whose shape is similar to a sigmoid.
Class is immutable.- Since:
- 3.3
-
-
Field Summary
Fields Modifier and Type Field Description private doublescaleSeevalue(long).private LogisticsigmoidSigmoid.
-
Constructor Summary
Constructors Constructor Description QuasiSigmoidDecayFunction(double initValue, double slope, long numCall)Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublevalue(long numCall)Computes the value of the learning factor.
-
-
-
Field Detail
-
sigmoid
private final Logistic sigmoid
Sigmoid.
-
scale
private final double scale
Seevalue(long).
-
-
Constructor Detail
-
QuasiSigmoidDecayFunction
public QuasiSigmoidDecayFunction(double initValue, double slope, long numCall)Creates an instance. The functionfwill have the following properties:f(0) = initValuenumCallis the inflexion pointslope = f'(numCall)
- Parameters:
initValue- Initial value, i.e.value(0).slope- Value of the function derivative atnumCall.numCall- Inflexion point.- Throws:
NotStrictlyPositiveException- ifinitValue <= 0.NumberIsTooLargeException- ifslope >= 0.NotStrictlyPositiveException- ifnumCall <= 0.
-
-