public class Sigmoid extends Object implements ActivationFunction
Constructor and Description |
---|
Sigmoid() |
Modifier and Type | Method and Description |
---|---|
org.jblas.DoubleMatrix |
apply(org.jblas.DoubleMatrix arg0) |
org.jblas.DoubleMatrix |
applyDerivative(org.jblas.DoubleMatrix input)
Applies the derivative of this function
|
public org.jblas.DoubleMatrix apply(org.jblas.DoubleMatrix arg0)
apply
in interface com.google.common.base.Function<org.jblas.DoubleMatrix,org.jblas.DoubleMatrix>
public org.jblas.DoubleMatrix applyDerivative(org.jblas.DoubleMatrix input)
ActivationFunction
applyDerivative
in interface ActivationFunction
input
- the input to apply it toCopyright © 2014. All Rights Reserved.