Modified Newton method | Backtracking Armijo | Theory and Python Code | Optimization Techniques #5

☕️ Buy me a coffee: https://paypal.me/donationlink240 🙏🏻 Support me on Patreon:   / ahmadbazzi   In this one, I will show you what the modified newton algorithm is and how to use it with the backtracking search by Armijo rule. We will approach both methods from intuitive and animated perspectives. The difference between Damped and its modified newton method is that the Hessian may run into singularities at some iterations, and so we apply diagonal loading, or Tikhonov regularization at each iteration. As a reminder, Damped newton, just like newton’s method, makes a local quadratic approximation of the function based on information from the current point, and then jumps to the minimum of that approximation. Just imagine fitting a little quadratic surface in higher dimensions to your surface at the current point, and then going to the minimum of the approximation to find the next point. Finding the direction towards the minimum of the quadratic approximation is what you are doing. As a matter of fact, this animation shows you why in certain cases, Newton's method can converge to a saddle or a maximum. If the eigenvalues of the Hessian are non positive - in those cases the local quadratic approximation is an upside down paraboloid. Next, we talk about the line search we are going to use in this tutorial, which is the Armijo backtracking method. This is achieved by the Armijo condition, which sufficiently decreases our function ! Of course, looking at the Armijo condition equation as is might not reveal any insights, but geometrically looks beautiful, let me show you how. ⏲Outline⏲ 00:00 Introduction 00:57 Modified Newton Method 03:44 Backtracking by Armijo 06:41 Python Implementation 24:41 Animation Module 40:12 Animating Iterations 43:32 Outro 📚Related Courses: 📚 Convex Optimization Extended Course    • Convex Optimization   📚 Python Programming Extended Course    • Python Programming   📚 Convex Optimization Applications Extended Course    • The Transshipment Problem in Decision Maki...   📚 Linear Algebra Extended Course    • Linear Algebra   📚 Python projects course    • Python   🔴 Subscribe for more videos on CUDA programming 👍 Smash that like button, in case you find this tutorial useful. 👁‍🗨 Speak up and comment, I am all ears. 💰 If you are able to, donate to help the channel Patreon -   / ahmadbazzi   This lecture contains many optimization techniques. #python #optimization #algorithm

Modified Newton method | Wolfe Backtracking | Theory and Python Code | Optimization Algorithms #6
▶︎

Modified Newton method | Wolfe Backtracking | Theory and Python Code | Optimization Algorithms #6

The most beautiful formula not enough people understand
▶︎

The most beautiful formula not enough people understand

Soft & Hard Margin Support Vector Machine (SVM)| Machine Learning with TensorFlow # 13
▶︎

Soft & Hard Margin Support Vector Machine (SVM)| Machine Learning with TensorFlow # 13

Stock Market Analysis with Pandas Python Programming | Python # 6
▶︎

Stock Market Analysis with Pandas Python Programming | Python # 6

TypeScript in Express – TypeScript Tutorial
▶︎

TypeScript in Express – TypeScript Tutorial

The spelled-out intro to language modeling: building makemore
▶︎

The spelled-out intro to language modeling: building makemore

System Design Course – APIs, Databases, Caching, CDNs, Load Balancing & Production Infra
▶︎

System Design Course – APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

OpenAI’s ads are failing and it can’t survive without them | Ed Zitron
▶︎

OpenAI’s ads are failing and it can’t survive without them | Ed Zitron

40Hz Binaural Gamma Waves - Ultra Deep Concentration
▶︎

40Hz Binaural Gamma Waves - Ultra Deep Concentration

My Shadiest Stellaris Build Yet...
▶︎

My Shadiest Stellaris Build Yet...

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat
▶︎

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat

Shannon's Capacity as a Convex Optimization Problem | Convex Optimization Application # 11
▶︎

Shannon's Capacity as a Convex Optimization Problem | Convex Optimization Application # 11

No Boss, No Money: The Raw Reality of China’s Gen-Z Freelancers
▶︎

No Boss, No Money: The Raw Reality of China’s Gen-Z Freelancers

Modified Newton method | Exact Line Search | Theory and Python Code | Optimization Algorithms #4
▶︎

Modified Newton method | Exact Line Search | Theory and Python Code | Optimization Algorithms #4

Instant Focus Mode – 40Hz Gamma Brainwave Music for Deep Focus & Productivity
▶︎

Instant Focus Mode – 40Hz Gamma Brainwave Music for Deep Focus & Productivity

Real-Time WebSockets Course | Build a Live Sports Dashboard with Node.js & PostgreSQL
▶︎

Real-Time WebSockets Course | Build a Live Sports Dashboard with Node.js & PostgreSQL

How to Build & Sell AI Agents: Ultimate Beginner’s Guide
▶︎

How to Build & Sell AI Agents: Ultimate Beginner’s Guide

I Tried Coding my own Graphics Library
▶︎

I Tried Coding my own Graphics Library

The World's Most Important Machine
▶︎

The World's Most Important Machine

Lawrence Wilkerson: Iran-Krieg spitzt sich zur globalen Krise zu
▶︎

Lawrence Wilkerson: Iran-Krieg spitzt sich zur globalen Krise zu