@Test public void testActivate(){ for(int i = 0; i < INPUT_VALUES.length; i++){ double functOutput = function.activate(INPUT_VALUES[i]); assertEquals("The function output is not as expected.", EXPECTED_FUNCT_OUT_VALUES[i], functOutput, 0); } }
public double activate(final double input) { return input; }
ActivationLinear extends ActivationFunction { public double activate(final double input) { return input; } }
ActivationLinear extends ActivationFunction { public double activate(final double input) { return input; }  }
ActivationLinear extends ActivationFunction { public double activate(final double input) { return input; }  double activate(final double input); double derivative(final double input); double getMax(); double getMin(); }
ActivationLinear extends ActivationFunction { public double activate(final double input) { return input; }  double activate(final double input); double derivative(final double input); double getMax(); double getMin();  }