What is the benefit to supply the gradient for function minimization?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Pasquale
am 7 Nov. 2017
Bearbeitet: Honglei Chen
am 7 Nov. 2017
Do you know if is it better to supply the gradient using 'fminunc'? For better I mean the time spent for analysis, and its accuracy.
0 Kommentare
Akzeptierte Antwort
Honglei Chen
am 7 Nov. 2017
Bearbeitet: Honglei Chen
am 7 Nov. 2017
I'm not an expert on this, but I believe that if you don't provide the gradient function, then it has to be numerically estimated from your function. Thus providing the gradient (if available) can help the algorithm to converge faster.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!