is the objective function stochastic (-> use something like patternsearch) or deterministic?
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Torsten
on 3 Mar 2023
Edited: Torsten
on 3 Mar 2023
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 Comments
Torsten
on 3 Mar 2023
Edited: Torsten
on 4 Mar 2023
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.
More Answers (0)
See Also
Categories
Find more on Quadratic Programming and Cone Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!