Beginner · The maths behind ML, as code
Derivatives and gradients
Estimate derivatives from finite differences in NumPy, find the step where rounding takes over, work out the gradient of the clinic's first neural network by the chain rule, and check a large model's gradient along random directions.
- You build
- gradients.py, then network.py
- Stages
- 3 Build, 1 Catch, 1 Ship
- Time
- About 3.5 hours
Loading the workspace…
Loading the workspace…