deephyper.skopt.optimizer.optimizer.create_result#

deephyper.skopt.optimizer.optimizer.create_result(Xi, yi, space=None, rng=None, specs=None, models=None)[source]#

Initialize an OptimizeResult object.

Parameters:
  • Xi (list of lists, shape (n_iters, n_features)) – Location of the minimum at every iteration.

  • yi (array-like, shape (n_iters,)) – Minimum value obtained at every iteration.

  • space (Space instance, optional) – Search space.

  • rng (RandomState instance, optional) – State of the random state.

  • specs (dict, optional) – Call specifications.

  • models (list, optional) – List of fit surrogate models.

Returns:

res – OptimizeResult instance with the required information.

Return type:

OptimizeResult, scipy object