My recent videos have detailed how to calculate partial derivatives by hand. In today's, I demo how we can compute them automatically using PyTorch, enabling us to easily differentiate complex equations like ML models.
We publish a new video from my "Calculus for Machine Learning" course to YouTube every Wednesday. Playlist is here.
More detail about my broader "ML Foundations" curriculum and all of the associated open-source code is available in GitHub here.