public final class SoftPlus extends ABoundedOp
| Constructor and Description |
|---|
SoftPlus() |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(double x)
Applies the operator to a single value, returning the result
|
double |
applyInverse(double y)
Applies the inverse of this Op.
|
void |
applyTo(double[] data,
int start,
int length) |
double |
averageValue() |
double |
derivative(double x)
Returns the derivative of this Op for a given input value x
i.e.
|
double |
derivativeForOutput(double y)
Returns the derivative of this Op for a given output value y
i.e.
|
Op |
getDerivativeOp() |
boolean |
hasDerivative() |
double |
maxValue() |
double |
minValue() |
isBoundedapplyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, compose, compose, constrainValues, divide, getInverse, getTransform, hasDerivativeForOutput, hasInverse, inputDimensions, isDomainBounded, isStochastic, maxDomain, minDomain, outputDimensions, product, sum, toString, transform, validateOutputpublic static final SoftPlus INSTANCE
public double apply(double x)
IOppublic double applyInverse(double y)
OpapplyInverse in class Oppublic void applyTo(double[] data,
int start,
int length)
public boolean hasDerivative()
hasDerivative in class Oppublic double derivativeForOutput(double y)
OpderivativeForOutput in class Oppublic double derivative(double x)
Opderivative in class Oppublic Op getDerivativeOp()
getDerivativeOp in class Oppublic double minValue()
minValue in class ABoundedOppublic double maxValue()
maxValue in class ABoundedOppublic double averageValue()
averageValue in class ABoundedOpCopyright © 2013. All Rights Reserved.