public final class OffsetOp extends ALinearOp
LINEAR, LOGISTIC, RECTIFIER, SOFTPLUS, STOCHASTIC_BINARY, STOCHASTIC_LOGISTIC, TANH| 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(AVector v) |
void |
applyTo(double[] data) |
void |
applyTo(double[] data,
int start,
int length) |
double |
averageValue() |
Op |
compose(ALinearOp op) |
Op |
compose(Op op) |
static OffsetOp |
create(double offset) |
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.
|
double |
getConstant() |
double |
getFactor() |
OffsetOp |
getInverse() |
boolean |
hasDerivative() |
boolean |
hasInverse() |
applyTo, applyTo, compose, constrainValues, getTransform, inputDimensions, isBounded, isStochastic, maxValue, minValue, outputDimensions, transform, validateOutputpublic static OffsetOp create(double offset)
public double apply(double x)
IOppublic double applyInverse(double y)
OpapplyInverse in class Oppublic void applyTo(AVector v)
public void applyTo(double[] data,
int start,
int length)
public double getConstant()
getConstant in class ALinearOppublic double averageValue()
averageValue in class Oppublic boolean hasDerivative()
hasDerivative in class ALinearOppublic double derivative(double x)
Opderivative in class ALinearOppublic double derivativeForOutput(double y)
OpderivativeForOutput in class ALinearOppublic boolean hasInverse()
hasInverse in class ALinearOppublic OffsetOp getInverse()
getInverse in interface IOpgetInverse in class OpCopyright © 2013. All Rights Reserved.