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

Add a warning on kriging-based surrogates being trained with multiple outputs #686

Merged
merged 3 commits into from
Dec 5, 2024

Conversation

relf
Copy link
Member

@relf relf commented Dec 4, 2024

The surrogate API of SMT allows to pass several training data outputs as some surrogates are able to handle them. Currently kriging-based models happen to swallow such data and provide a surrogate but this resulting surrogate might not be as good as if we train a dedicated surrogate for each output (as only one set of hyperameters is actually optimized, the detailed impact of multiple outputs still has to be investigated).

As it was reported though with multiple outputs the resulting surrogate could be "good enough", this PR just adds a warning when set_training_values() is used with multiple outputs. Still such usage is not currently recommended (at least without checking the surrogate quality properly) and this warning might become a hard error in the future.

This PR relates to #679

@relf relf merged commit 7da5e1c into SMTorg:master Dec 5, 2024
11 checks passed
@relf relf deleted the warn-multi-outputs branch December 5, 2024 13:50
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.

1 participant