Class SigmoidDerivative
java.lang.Object
dk.alexandra.fresco.stat.mlp.activationfunction.SigmoidDerivative
- All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
public class SigmoidDerivative extends Object implements dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Compute the derivative of the
Sigmoid function f'(x)given the function value
y = f(x)in the point.-
Constructor Summary
Constructors Constructor Description SigmoidDerivative(dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> y) -
Method Summary
Modifier and Type Method Description dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
-
Constructor Details
-
SigmoidDerivative
public SigmoidDerivative(dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> y)
-
-
Method Details
-
buildComputation
public dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)- Specified by:
buildComputationin interfacedk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
-