LECTURES A GRATIS GLOBAL SERVICE
⌕ SEARCH GRATIS GLOBAL ↗
LECTURES
Finite-Difference Approximations
SOURCE: YOUTUBE · NO TRACKING UNTIL YOU PRESS PLAY · TROUBLE PLAYING? WATCH AT THE SOURCE ↗

Finite-Difference Approximations

51 MIN · EN · STATUS: [ STREAMING ]
RATE THIS
MIT · Matrix Calculus For Machine Learning And Beyond · LECTURE 6

Alan Edelman and Steven G. Johnson continue MIT's 18.S096, Matrix Calculus for Machine Learning and Beyond, with a session on finite-difference approximations. The lecture covers how numerical derivative estimates are constructed by perturbing inputs and measuring output changes, and why these approximations are useful for checking analytical derivatives computed by hand or by automatic differentiation. The core of the talk moves into numerical analysis, examining the two competing sources of error: truncation error from the finite step size and roundoff error from floating-point precision limits. Edelman and Johnson work through how these errors trade off against each other as step size shrinks, explaining why there is an optimal step size rather than simply choosing the smallest possible one. The session is part of MIT's IAP 2023 offering of 18.S096, a course built around the matrix calculus underlying machine learning algorithms, and assumes familiarity with earlier lectures on derivatives and differentials.

At a glance

Lecture facts

Runtime compared with the other 1,171 Mathematics lectures
Runtime51 m
Compared with MathematicsShorter than 82%
This series

Matrix Calculus For Machine Learning And Beyond

Every lecture in order, sized by its length.

  • Earlier lectures
  • This lecture
  • Still to come
Lecture 6 of 174 h 23 m before this · 13 h 54 m in total

More from this course

12 LECTURES
Lecture 1 Part 1: Introduction and Motivation

Lecture 1 Part 1: Introduction and Motivation

MIT · 58 MIN
Derivatives as Linear Operators

Derivatives as Linear Operators

MIT · 48 MIN
Derivatives in Higher Dimensions: Jacobians and Matrix Functions

Derivatives in Higher Dimensions: Jacobians and Matrix Functions

MIT · 74 MIN
Vectorization of Matrix Functions

Vectorization of Matrix Functions

MIT · 30 MIN
Kronecker Products and Jacobians

Kronecker Products and Jacobians

MIT · 53 MIN
Gradients and Inner Products in Other Vector Spaces

Gradients and Inner Products in Other Vector Spaces

MIT · 64 MIN
Nonlinear Root Finding, Optimization, and Adjoint Gradient Methods

Nonlinear Root Finding, Optimization, and Adjoint Gradient Methods

MIT · 44 MIN
Derivative of Matrix Determinant and Inverse

Derivative of Matrix Determinant and Inverse

MIT · 28 MIN
Forward Automatic Differentiation via Dual Numbers

Forward Automatic Differentiation via Dual Numbers

MIT · 36 MIN
Differentiation on Computational Graphs

Differentiation on Computational Graphs

MIT · 33 MIN
Adjoint Differentiation of ODE Solutions

Adjoint Differentiation of ODE Solutions

MIT · 58 MIN
Calculus of Variations and Gradients of Functionals

Calculus of Variations and Gradients of Functionals

MIT · 43 MIN