~/talk

Using Python to start learning Unconstrained Numerical Optimization Algorithms

Talkat PyCon Colombia 2021 · 2021-06-19..06-20· [python, machine-learning]
slides:none on file

Covers concrete, runnable examples using NumPy and autograd to compute gradients and Jacobians, and SciPy’s optimize routines (root_scalar and scipy.optimize.line_search) to implement Newton, secant/quasi-Newton style root finding and line-search based descent. Demonstrates Wolfe conditions and a zoom step that returns a step length ~0.04 with one gradient evaluation, shows Newton root solve converging in 6 calls/6 iterations, and applies a steepest descent run on the Himmelblau function that reaches the minimizer (3,2) with objective ≈0.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:57Basics of numerical optimization
  3. 5:25Scaling and gradient concepts
  4. 8:14Gradient and Hessian in Python
  5. 13:12Unconstrained optimization problem
  6. 18:31Newton’s method explained
  7. 21:58Secant method implementation
  8. 24:07Line search descent method
  9. 27:15Step length calculation demo
  10. 30:01Steepest descent algorithm
  11. 30:43Further methods and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.