You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Then we define the black-box function to optimize.
def run(job):
config = job.parameters
objective = config["x"] + config["y"]
return objective
# %%
# Then we define the search. In this example, we use the `ExperimentalDesignSearch` class to generate points from a grid design. The `Evaluator` can also be used with this class to parallelize evalutions.
# Note that `n_points` and `max_evals` take the same value here.
from deephyper.search.hps import ExperimentalDesignSearch