openturns icon indicating copy to clipboard operation
openturns copied to clipboard

KrigingAlgorithm: examples set bounds before disabling optimization

Open mdelozzo opened this issue 1 year ago • 3 comments

Several examples of KrigingAlgorithm (here and there, and perhaps elsewhere) set the optimization bounds of the covariance model parameters with setOptimizationBounds but disables their optimization with setOptimizeParameters(False). Is it on purpose? If so, what is the meaning of this?

mdelozzo avatar Aug 10 '23 18:08 mdelozzo

Thanks for reporting. The second example (this one) should be updated. I think the issue has been introduced by... me when trying to debug the multivariate kriging. I will fix it For the first one, it illustrates many situations (optim on with user defined bounds, optim off..) Maybe the example is too much complex and should/might be reworked. @mbaudin47 could you have a look on that please? many thanks again

sofianehaddad avatar Aug 10 '23 20:08 sofianehaddad

Now I can see your point in this one:

image

mbaudin47 avatar Aug 12 '23 18:08 mbaudin47

Thanks, @mbaudin47 and @sofianehaddad, for your fixes.

mdelozzo avatar Sep 08 '23 14:09 mdelozzo