Changelog¶
v1.2.0dev¶
API Changes¶
n_folds
andn_iter
parameters have been renamed ton_splits
to conform to thesklearn
API.
New Features¶
Added support for
TimeSeriesSplit
andLeavePOut
cross-validators.Improved
osprey dump
JSON 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_retries
entry to the config file. This limits the number of times thatstrategy.suggest
is called when attempting to produce a trial with a set of params not previously tested in the history.Added
n_jobs
flag forosprey worker
to 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
jump
variables of typeint
.Fixed error in the way integer variables were selected from results of Gaussian processes search strategy.
sklearn.grid_search
module has been replaced bysklearn.model_selection
to conform to newsklearn
API
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