[−][src]Trait scholar::Activation
An activation for a network, including a function and a 'derivative' function.
Required methods
fn activate(x: f64) -> f64
The activation function.
fn derivative(x: f64) -> f64
The 'derivative' of the activaton function.
Note that this assumes that the activation function has already been applied to its input, as this is always the case when used in the context of neural networks.