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

Random variation in default kernel parameters #425

Open
uremes opened this issue Jun 14, 2022 · 0 comments · May be fixed by #486
Open

Random variation in default kernel parameters #425

uremes opened this issue Jun 14, 2022 · 0 comments · May be fixed by #486

Comments

@uremes
Copy link
Contributor

uremes commented Jun 14, 2022

Summary:

The default kernel used in GPyRegression is initialised based on batch_size observations. The initialisation varies a lot when batch_size=1.

Description:

The default initialisation in GPyRegression chooses some kernel parameters based on the discrepancies y that are provided as input to the first update call. This means that when the model is used in BOLFI or BOLFIRE, the kernel parameters are chosen based on the first batch_size simulations.

BOLFI or BOLFIRE are not expected to need surrogate model predictions until n_initial_evidence simulations have been carried out, so initialisation could be postponed until then and all the initial evidence could be used in initialisation. This should reduce variation between optimisation runs that use small batch sizes.

Reproducible Steps:

Run BOLFI notebook with seed=310522 vs seed=1 and check the priors in bolfi.target_model (cell 6).

@uremes uremes linked a pull request Jul 4, 2024 that will close this issue
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 a pull request may close this issue.

1 participant