Skip to content

Conversation

@Bizbalt
Copy link
Contributor

@Bizbalt Bizbalt commented Nov 17, 2025

Motivation

This Feature was requested in Issue #650 and fullfilled at the BoFire hackathon on the 17th. of November 2025.

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

The tests run analogous to the AdditiveMapSaasSingleTaskGP method, as both should return the same result.

@jduerholt
Copy link
Contributor

There are a few things that seems not working yet, will you investigate this or should I have a look?

@Bizbalt
Copy link
Contributor Author

Bizbalt commented Nov 24, 2025

There are a few things that seems not working yet, will you investigate this or should I have a look?

Yes, please have a look, I do not understand the failed checks and no tests failed on our machine. Maybe the new method does not accept the input parameters excactly as the comparable AdditiveMapSaasSingleTaskGP method.

@jduerholt
Copy link
Contributor

I will have a look at the end of the week! Best, Johannes

Copy link
Contributor

@jduerholt jduerholt left a comment

Choose a reason for hiding this comment

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

Hi @Bizbalt,

sorry that it took so long. Too much to do ;)

This looks overall very good! The failing tests are in my point of view not related to this PR.

Only two things needs to be adapted:

Best,

Johannes

return isinstance(my_type, type(ContinuousOutput))

class EnsembleMapSaasSingleTaskGPSurrogate(TrainableBotorchSurrogate):
"""Instantiates an ``EnsembleMapSaasSingleTaskGP``, which is a batched
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, this docstring does not directly apply to BoFire, more to botorch, keep it concise (https://github.com/experimental-design/bofire/blob/main/bofire/data_models/surrogates/map_saas.py), state the differences to the version that we alread have (see the link) and just list the variables that a user in BoFire can actually choose.

Copy link
Contributor

Choose a reason for hiding this comment

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

One can also link to the docstring from botorch.

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.

5 participants