Most machine learning models operate on data with multiple features or involve adjusting numerous parameters. Unlike the single-variable functions f(x) we've examined so far, practical models often look more like f(x1,x2,…,xn). When a function depends on several inputs, we need a way to understand how it changes when only one of those inputs varies.
This chapter introduces the technique for doing just that: partial derivatives. You'll learn:
These concepts extend our understanding of derivatives to the multi-dimensional situations typical in machine learning optimization.
4.1 Functions of Multiple Variables
4.2 Partial Derivatives: The Concept
4.3 Calculating Partial Derivatives
4.4 Partial Derivative Notation
4.5 The Gradient Vector
4.6 Geometric Meaning of the Gradient
4.7 Practice: Calculating Partial Derivatives and Gradients
© 2025 ApX Machine Learning