GPflow / GPflowOpt

Bayesian Optimization using GPflow
Apache License 2.0
270 stars 61 forks source link

Callback #73

Closed javdrher closed 7 years ago

javdrher commented 7 years ago

Implementation of the final use case defined in #7 . This implements a callback strategy to plug a user defined callable in to BayesianOptimizer which is called each iteration and gives full controls over the models. All GPflow manipulations are possible (assigning priors, modifying transforms, fixing parameters). Goal of those callbacks is to assure optimizations are successful, which can be very application specific.

Combined with the optimize_restarts feature, following use-cases are possible:

This PR depends on #68 and #72 and should be merged after.

codecov-io commented 7 years ago

Codecov Report

Merging #73 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #73      +/-   ##
=========================================
+ Coverage    99.8%   99.8%   +<.01%     
=========================================
  Files          17      17              
  Lines        1013    1040      +27     
=========================================
+ Hits         1011    1038      +27     
  Misses          2       2
Impacted Files Coverage Δ
gpflowopt/acquisition/acquisition.py 100% <100%> (ø) :arrow_up:
gpflowopt/bo.py 98.94% <100%> (+0.28%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 10da813...339b699. Read the comment docs.