openturns
openturns copied to clipboard
KrigingAlgorithm: examples set bounds before disabling optimization
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?
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
Thanks, @mbaudin47 and @sofianehaddad, for your fixes.