How to make convergence criteria for Levenberg-Marquardt algorithm

조회 수: 2 (최근 30일)
Chris Martin
Chris Martin 2015년 11월 6일
편집: Krishna 2024년 8월 25일
How to make convergence criteria for Levenberg-Marquardt algorithm, please give practical hint for matlab implementatio

답변 (1개)

Krishna
Krishna 2024년 8월 25일
편집: Krishna 2024년 8월 25일
Hello,
From the question I understand you want to know the convergence criteria of Levenberg-Marquardt algorithm.
  • The first criteria is if when the maximum number of epochs is reached then the training is stopped irrespective if the convergence is achieved or not.
  • The second criteria is if the parameters changes are below a threshold then convergence is achieved.
  • The third criteria is minimum gradient value is reached. You can adjust this by changing the hyper-parameter ‘net.trainlm.min_grad.’
  • The fourth criteria is if the performance goal is reached (training loss value). You can adjust this by changing the hyper-parameter ‘net.trainlm.goal.’
These are the 4 criterions by which you can check the convergence of trainlm algorithm.
Please go through the following documentation to learn more regarding the hyper-parameters of Levenberg-Marquardt algorithm and also the mathematical update function being used in the following algorithm,
Also please go through the following documentation to learn more about how to ask question on MATLAB answer and get a fast response,
Hope this helps.
  댓글 수: 2
Walter Roberson
Walter Roberson 2024년 8월 25일
If the maximum number of epochs is reached, then you do not have convergence.
Krishna
Krishna 2024년 8월 25일
Yes, have corrected the answer, if the maximum epochs is reached then the training is stopped irrespective if the convergence is achieved or not.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by