Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to enable defining bounds for theta and noise, the value of the nugget and a noise variance per design input #257

Merged
merged 26 commits into from
Dec 21, 2020

Conversation

anfelopera
Copy link
Contributor

No description provided.

doc/_src_docs/surrogate_models/krg.rst Outdated Show resolved Hide resolved
smt/surrogate_models/krg_based.py Outdated Show resolved Hide resolved
Comment on lines 183 to 184
if not self.options["is_noise_het"]:
self.noise = self.optimal_theta[self.D.shape[1] :]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the case heteroscedastic is not treated like the homoscedastic one ?
Can't we uniformize these two ?
Just by adding the length ?

Copy link
Contributor Author

@anfelopera anfelopera Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do it but that forces the initialisation of the noise variances in a list, p.e. : noise0 = nt * [1e-6] ... and check the option using len(noise). In that case, we need to check that len(noise) is correct (equal to nt). I can do it if everyone is ok with that.

smt/surrogate_models/krg_based.py Outdated Show resolved Hide resolved
smt/surrogate_models/krg_based.py Show resolved Hide resolved
smt/surrogate_models/krg_based.py Show resolved Hide resolved
smt/surrogate_models/krg_based.py Outdated Show resolved Hide resolved
smt/surrogate_models/krg_based.py Outdated Show resolved Hide resolved
@@ -833,18 +883,28 @@ def grad_minus_reduced_likelihood_function(log10t):
k, incr, stop, best_optimal_rlf_value, max_retry = 0, 0, 1, -1e20, 10
while k < stop:
# Use specified starting point as first guess
if self.options["eval_noise"]:
if self.options["eval_noise"] and not self.options["is_noise_het"]:
Copy link
Contributor

@Paul-Saves Paul-Saves Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same remark as before

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this initial implementation, the noise variances are pointwise sensible estimates via (Ankenman et al., 2010), and they are not estimated via ML, i.e. they are fixed for the MLE. In future developments, they will be integrated in the MLE.

@Paul-Saves
Copy link
Contributor

Paul-Saves commented Dec 16, 2020

--

  • Lack of examples with heteroscedastic noise.
  • Lack of documentation with heteroscedastic noise.

Coverage has decreased.

@anfelopera anfelopera closed this Dec 16, 2020
@anfelopera anfelopera reopened this Dec 16, 2020
@relf relf merged commit 5c316d7 into SMTorg:master Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants