1. Forward Layer Computation, Activations and Loss Functions
In an -layer feedforward neural network, layer transforms the previous layer's activation vector ():
| Activation | Definition | Derivative |
|---|---|---|
| Sigmoid | (max at ) | |
| Hyperbolic tangent | (max at ) | |
| ReLU | if , if |
Common scalar losses on output and target : half-MSE (giving ) and binary cross-entropy .