Constructor and Description |
---|
Activation() |
Modifier and Type | Method and Description |
---|---|
abstract double |
activate(double x)
The activation function.
|
abstract double |
derivative(double x)
The derivative of the activation function.
|
public abstract double activate(double x)
x
- The input to function.public abstract double derivative(double x)
x
- The input to the function.