@Test(expected=UnsupportedOperationException.class) public void testDerivative(){ function.derivative(0); }
public double derivative(final double input) { throw new UnsupportedOperationException("Can't compute a derivative of the linear activation function."); }
ActivationLinear extends ActivationFunction { public double derivative(final double input) { throw new UnsupportedOperationException("Can't compute a derivative of the linear activation function."); } }
ActivationLinear extends ActivationFunction { public double derivative(final double input) { throw new UnsupportedOperationException("Can't compute a derivative of the linear activation function."); }  }
ActivationLinear extends ActivationFunction { public double derivative(final double input) { throw new UnsupportedOperationException("Can't compute a derivative of the linear activation function."); }  double activate(final double input); double derivative(final double input); double getMax(); double getMin(); }
ActivationLinear extends ActivationFunction { public double derivative(final double input) { throw new UnsupportedOperationException("Can't compute a derivative of the linear activation function."); }  double activate(final double input); double derivative(final double input); double getMax(); double getMin();  }