deephyper.skopt.utils.load#
- deephyper.skopt.utils.load(filename, **kwargs)[source]#
Reconstruct a skopt optimization result from a file persisted with
deephyper.skopt.dump.Note
Notice that the loaded optimization result can be missing the objective function (
.specs['args']['func']) ifdeephyper.skopt.dumpwas called with store_objective=False.- Parameters:
filename (str or pathlib.Path) – The path of the file from which to load the optimization result.
**kwargs – All other keyword arguments will be passed to joblib.load.
- Returns:
Reconstructed OptimizeResult instance.
- Return type:
res (OptimizeResult scipy object)