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