Skip to content

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