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

Adding multi-fidelity optimization #11

Merged
merged 15 commits into from
Aug 25, 2021

Conversation

roussel-ryan
Copy link
Collaborator

See added examples for use case

logger = logging.getLogger(__name__)


class MultiFidelityGenerator:
Copy link
Collaborator

Choose a reason for hiding this comment

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

This needs a docstring


def create_model(train_x, train_outputs, input_normalize, custom_model=None, **kwargs):

def create_model(train_x, train_y, train_c, vocs, custom_model=None, **kwargs):
Copy link
Collaborator

Choose a reason for hiding this comment

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

This needs a docstring

assert isinstance(model, botorch.models.model.Model)

return model


def create_multi_fidelity_model(train_x, train_obj, train_c, vocs):
Copy link
Collaborator

Choose a reason for hiding this comment

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

This needs a docstring

@ChristopherMayes ChristopherMayes merged commit fc15b12 into xopt-org:master Aug 25, 2021
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.

2 participants