Calculus for ML - How does a model learn?