is the objective function stochastic (-> use something like patternsearch) or deterministic?
2 次查看(过去 30 天)
显示 更早的评论
My objective function is given by
f(x) = ||d^sim(x) - d^exp||^2
d^exp is a constant vector of measurements, to which I add random noise utilizing randn. Then I call the optimization (lsqnonlin, fmincon, whatever,...) In particular, d^exp does not depend on the parameters x.
Since I add the noise just once a priori to the optimization, my objective function is still deterministic, right?
I just wanted to double-check that because, at least I read about that, objective functions including noise are better handled by derivative-free optimizers like patternsearch.
0 个评论
采纳的回答
Torsten
2023-3-3
编辑:Torsten
2023-3-3
Since I add the noise just once a priori to the optimization, my objective function is still deterministic, right?
Right, but why do you add noise to your measurement data ? Aren't they noisy enough already ?
I just wanted to double-check that because, at least I read about that, objective functions including noise are better handled by derivative-free optimizers like patternsearch.
Stochastic optimization (thus optimization with an objective with random outputs) isn't possible with any tool from the optimization toolbox.
5 个评论
Torsten
2023-3-3
编辑:Torsten
2023-3-4
I just wanted to double-check that because, at least I read about that, objective functions including noise are better handled by derivative-free optimizers like patternsearch.
Just to add to the statement above: The measurement data (d^exp) can be noisy. The main requirement for the use of conventional deterministic optimizers is that the fitting function (d^sim) is a smooth function of the fitting parameters and the independent variable.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Quadratic Programming and Cone Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!