what does MaxFunEvals mean?

조회 수: 23 (최근 30일)
Wang
Wang 2014년 11월 13일
댓글: Star Strider 2014년 11월 15일
I use fminunc to find local optimum of a function and get a warning: "fminunc stopped because it exceeded the function evaluation limit, options.MaxFunEvals = 3600 (the default value)."
I know how to set options.MaxFunEvals, but I don't know what's the meaning of this parameter? The description in the document is "Maximum number of function evaluations allowed".
From my understanding, the termination parameter includes max number of iteration, change of step size, change of function value, change of gradient and so on. But I have no idea what "Maximum number of function evaluations allowed" means.

채택된 답변

Star Strider
Star Strider 2014년 11월 13일
It’s the maximum number of times the routine evaluates your objective function, each time with the updated parameter estimates.
  댓글 수: 2
Wang
Wang 2014년 11월 15일
Thanks for the answer! Then what's the difference between it and the maximal number of iteration?
Star Strider
Star Strider 2014년 11월 15일
My pleasure!
The maximum number of iterations are the iterations of the fminunc function itself.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by