skopt.utils
.load¶
-
skopt.utils.
load
(filename, **kwargs)[source][source]¶ Reconstruct a skopt optimization result from a file persisted with skopt.dump.
Note
Notice that the loaded optimization result can be missing the objective function (
.specs['args']['func']
) ifskopt.dump
was called withstore_objective=False
.- Parameters
- filenamestring or
pathlib.Path
The path of the file from which to load the optimization result.
- **kwargsother keyword arguments
All other keyword arguments will be passed to
joblib.load
.
- filenamestring or
- Returns
- res
OptimizeResult
, scipy object Reconstructed OptimizeResult instance.
- res