@Test public void testDerivative(){ for(int i = 0; i < INPUT_VALUES.length; i++){ double functOutput = function.derivative(INPUT_VALUES[i]); assertEquals("The function derivation output is not as expected.", EXPECTED_FUNCT_DERIVATIVE_VALUES[i], functOutput, DOUBLES_EQUAL_DELTA); } }
@Override public double derivative(double input) { return activate(input) * (1 - activate(input)); }
ActivationSigmoid extends ActivationFunction { @Override public double derivative(double input) { return activate(input) * (1 - activate(input)); } }
ActivationSigmoid extends ActivationFunction { @Override public double derivative(double input) { return activate(input) * (1 - activate(input)); }  }
ActivationSigmoid extends ActivationFunction { @Override public double derivative(double input) { return activate(input) * (1 - activate(input)); }  @Override double activate(double input); @Override double derivative(double input); @Override double getMax(); @Override double getMin(); }
ActivationSigmoid extends ActivationFunction { @Override public double derivative(double input) { return activate(input) * (1 - activate(input)); }  @Override double activate(double input); @Override double derivative(double input); @Override double getMax(); @Override double getMin(); final static double MAX; final static double MIN; }