public class GaussianNoise extends Op
| Modifier and Type | Field and Description |
|---|---|
static GaussianNoise |
UNIT_NOISE |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(double x)
Applies the operator to a single value, returning the result
|
void |
applyTo(double[] data,
int start,
int length) |
double |
averageValue() |
static GaussianNoise |
create(double stdDev) |
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() |
boolean |
isStochastic()
Returns true if the operator is stochastic, i.e returns random values for at least some inputs
|
applyInverse, applyTo, applyTo, applyTo, applyTo, compose, compose, constrainValues, getInverse, getTransform, hasDerivativeForOutput, hasInverse, inputDimensions, isBounded, maxValue, minValue, outputDimensions, product, sum, toString, transform, validateOutputpublic static final GaussianNoise UNIT_NOISE
public static GaussianNoise create(double stdDev)
public boolean isStochastic()
OpisStochastic in class Oppublic double apply(double x)
IOppublic void applyTo(double[] data,
int start,
int length)
public boolean hasDerivative()
hasDerivative in class Oppublic double derivative(double x)
Opderivative in class Oppublic double derivativeForOutput(double y)
OpderivativeForOutput in class Oppublic Op getDerivativeOp()
getDerivativeOp in class Oppublic double averageValue()
averageValue in class OpCopyright © 2013. All Rights Reserved.