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

preview_player
Показать описание

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, let’s talk about the line search we are going to use in this tutorial, which is based on Wolfe criterion. This is achieved by the Wolfe condition, which sufficiently decreases our function ! The Wolfe condition combines both the Armijo condition as well as an additional curvature condition to formulate the strong Wolfe condition. The curvature condition ensures a sufficient increase of the gradient. This is also a strong wolfe condition, which restricts slopes from getting too positive, hence excluding points far away from stationary points.

⏲Outline⏲
00:00 Introduction
00:55 Modified Newton Method
03:42 Wolfe Criterion
04:58 Python Implementation
18:15 Animation Module
33:42 Animating Iterations
38:20 Outro

📚Related Courses:



🔴 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

This lecture contains any optimization techniques.

#python #optimization #algorithm
Рекомендации по теме
Комментарии
Автор

You, my man, have been recommended by our university professor. Hats down for you.

pateldhruv
Автор

Ahmad can really keep you hooked up on the way he explains things. What a legend.

wild
Автор

I've known this man only for 40 minutes, but I feel like I owe him 40 decades of gratitude. Thank you for this awesome tutorial!

esrarengizcocuk
Автор

Thanks to you, Mr.Kalami, I found a solution to my homework. I love your foundation, Faradars, because I learned MATLAB with your fluent and comprehensive tutorial videos.

furkankarakaya
Автор

Gorgeous tutorial ! I have never even saw the pyhton interface in my life before, but with the help of your videos i feel like i understand a lot.

harunj
Автор

I can't believe these type of courses are for free here, it's amazing how education has change.

julietgintingofficial
Автор

I can't even imagine how long it took to complete this video. Thanks a ton for your effort.

smmtechnical
Автор

Can we just take a moment to appreciate this guy for providing this type of content for free ? great help, Thank you sir! 🙏🙏🙏

elifce
Автор

Hats off ! Ahmad I have no words to let you know how grateful I am for this free course, it is not only well designed but also easy to follow, God bless you.

aliatalay
Автор

he did all this hard work and sent it to the internet for free. and he doesn't get too much but what he gets is RESPECT and credit for bringing new aspiring engineers to earth.

wazhs
Автор

I really appreciate your precious effort, not to mention how much fun and friendly to learn. Thanks Prof. Ahmad.

ashwinsuresh
Автор

ABSOLUTELY LOVE your 40 minute video series... Thanks a lot Ahmad :)😍

Ziddoz
Автор

What an absolutely epic contribution to the world. Thank you!

vimamoglu
Автор

This tutorial is too good. Easy to follow ...

kreatiffortnite
Автор

Thank you, Ahmad, for the time and effort you took into making this marvellous tutorial. Much, much appreciated!

mskprofesyoneltv
Автор

Imagine how many people would have earned better living because of this effort put in by Ahmad. Huge Respect.

logic
Автор

This course is extremely useful. Thanks a lot. You did a great job!

عليشوكوشوفالي-ور
Автор

I love your videos!, having learnt all this in my gcses / a levels, just rewatching it after 4 months after my exams

sem-gqbn
Автор

I love this video, I feel so privileged to be growing up in an era where knowledge is so easily available, Ahmad is really helping to improve my and many other's opportunities.

harsha_manu_
Автор

I am so impressive of all your videos!!!

ramalismayilov
visit shbcf.ru