Layer notation and matrix dimensions


Matrix dimensions


Why use multiple hidden layers?
Then the single layer would have to be exponentially long to fit all possibilities

Forward and backward functions

Parameters and hyperparameters

Random initialization
- Breaking Symmetry: Random initialization of weights ensures that each neuron computes a different function, breaking the symmetry. This allows the network to learn from the error and make individual updates to each neuron.
- Accelerates Learning: Initializing weights to small random values ensures that the activation functions operate in ranges where their gradients are not extremely small, which helps speed up the learning process.