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 polynomial kernel #298

Merged
merged 10 commits into from
Oct 6, 2023

Conversation

dlinzner-bcs
Copy link
Contributor

@dlinzner-bcs dlinzner-bcs commented Oct 5, 2023

  • added support for polynomial kernels
  • add QuadraticSurrogate that performs Bayesian quadratic regression

@dlinzner-bcs dlinzner-bcs linked an issue Oct 5, 2023 that may be closed by this pull request
@dlinzner-bcs dlinzner-bcs requested a review from jduerholt October 5, 2023 13:41
from bofire.data_models.surrogates.trainable import TrainableSurrogate


class QuadraticSurrogate(BotorchSurrogate, TrainableSurrogate):
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather PolynomialSurrogate?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This specific one has power=2. So its quadratic.

@dlinzner-bcs dlinzner-bcs merged commit 191b382 into main Oct 6, 2023
10 checks passed
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.

Add surrogate models that can extrapolate
2 participants