Deprecated
as a consequence of DifferentiableUnivariateFunction being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| public static class | Logistic.
Parametric function where the input array contains the parameters of
the
|
| Modifier and Type | Field and Description |
|---|---|
| private final double | a
Lower asymptote. |
| private final double | b
Growth rate. |
| private final double | k
Upper asymptote. |
| private final double | m
Abscissa of maximum growth. |
| private final double | oneOverN
Parameter that affects near which asymptote maximum growth occurs. |
| private final double | q
Parameter that affects the position of the curve along the ordinate axis. |
| Access | Constructor and Description |
|---|---|
| public | Logistic(double
If k, double b > 0, value of the function for x going towards +∞.
If b < 0, value of the function for x going towards -∞.Abscissa of maximum growth. m, double Growth rate. b, double Parameter that affects the position of the curve along the
ordinate axis. q, double If a, double b > 0, value of the function for x going towards -∞.
If b < 0, value of the function for x going towards +∞.Parameter that affects near which asymptote the maximum
growth occurs. n)
|
| Modifier and Type | Method and Description |
|---|---|
| public UnivariateFunction | derivative()
Implements org.
Deprecated
as of 3.1, replaced by
value(DerivativeStructure)
Returns the derivative of the function |
| public double | value(double
Point at which the function value should be computed. x)Implements org. Compute the value of the function. |
| private static double | Returns: the value of the function.m - x.k.b.q.a.1 / n.
|
| public DerivativeStructure | value(final DerivativeStructure
function input value t)Implements org. Simple mathematical function. |
| a | back to summary |
|---|---|
| private final double a Lower asymptote. | |
| b | back to summary |
|---|---|
| private final double b Growth rate. | |
| k | back to summary |
|---|---|
| private final double k Upper asymptote. | |
| m | back to summary |
|---|---|
| private final double m Abscissa of maximum growth. | |
| oneOverN | back to summary |
|---|---|
| private final double oneOverN Parameter that affects near which asymptote maximum growth occurs. | |
| q | back to summary |
|---|---|
| private final double q Parameter that affects the position of the curve along the ordinate axis. | |
| Logistic | back to summary |
|---|---|
public Logistic(double k, double m, double b, double q, double a, double n) throws NotStrictlyPositiveException
| |
| derivative | back to summary |
|---|---|
| public UnivariateFunction derivative() Implements org. Doc from org. Deprecated as of 3.1, replaced by Returns the derivative of the function
| |
| value | back to summary |
|---|---|
| public double value(double x) Implements org. Doc from org. Compute the value of the function.
| |
| value | back to summary |
|---|---|
private static double value(double mMinusX, double k, double b, double q, double a, double oneOverN)
| |
| value | back to summary |
|---|---|
| public DerivativeStructure value(final DerivativeStructure t) Implements org. Doc from org. Simple mathematical function.
| |
logistic function, ordered as follows:
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double[] | Returns: the gradient vector atx.Value at which the gradient must be computed. x, double... Values for param)k, m, b, q,
a and n.Implements org. Computes the value of the gradient at |
| private void | validateParameters(double[]
Values for param)k, m, b, q,
a and n.Validates parameters to ensure they are appropriate for the evaluation of
the |
| public double | Returns: the value of the function.Value for which the function must be computed. x, double... Values for param)k, m, b, q,
a and n.Implements org. Computes the value of the sigmoid at |
| Parametric | back to summary |
|---|---|
| public Parametric() | |
| gradient | back to summary |
|---|---|
| public double[] gradient(double x, double... param) throws NullArgumentException, DimensionMismatchException, NotStrictlyPositiveException Implements org. Computes the value of the gradient at
| |
| validateParameters | back to summary |
|---|---|
| private void validateParameters(double[] param) throws NullArgumentException, DimensionMismatchException, NotStrictlyPositiveException Validates parameters to ensure they are appropriate for the evaluation of
the
| |
| value | back to summary |
|---|---|
| public double value(double x, double... param) throws NullArgumentException, DimensionMismatchException, NotStrictlyPositiveException Implements org. Computes the value of the sigmoid at
| |