Changelog¶
v1.2.0dev¶
API Changes¶
n_foldsandn_iterparameters have been renamed ton_splitsto conform to thesklearnAPI.
New Features¶
Added support for
TimeSeriesSplitandLeavePOutcross-validators.Improved
osprey dumpJSON output. The hyperparameters for each run are now stored along all the other settings in the same dictionary, allowing for subsequent easier loading and plotting.Added
max_param_suggestion_retriesentry to the config file. This limits the number of times thatstrategy.suggestis called when attempting to produce a trial with a set of params not previously tested in the history.Added
n_jobsflag forosprey workerto control how many threads are used for cross-validation.Added the ability to specify three different acquisition functions for the gaussian processes strategy: expected improvement ei, upper confidence bound, ucb and the original Osprey function (the default), osprey.
Refactored code: GP strategy has been replaced by a general Bayes strategy. This will eventually allow different surrogate functions, other than Gaussian Process, to be specified.
Bug Fixes¶
Fixed issue that was causing crashes when there was an attempt to write estimator parameters (e.g. numpy arrays) which couldn’t be serialized by JSON.
Fixed crashes when using
jumpvariables of typeint.Fixed error in the way integer variables were selected from results of Gaussian processes search strategy.
sklearn.grid_searchmodule has been replaced bysklearn.model_selectionto conform to newsklearnAPI
v1.1.0¶
API Changes¶
Implemented
Config.trial_results, allowing convenient retrieval of trials as apandas.DataFrame(#190)
New Features¶
v1.0.0¶
This is the first stable version of Osprey