Add a verbose option to BOptimizer that prints progress information. …#103
Add a verbose option to BOptimizer that prints progress information. …#103
Conversation
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
==========================================
+ Coverage 99.81% 99.91% +0.09%
==========================================
Files 18 18
Lines 1095 1118 +23
==========================================
+ Hits 1093 1117 +24
+ Misses 2 1 -1
Continue to review full report at Codecov.
|
gpflowopt/bo.py
Outdated
| valid_X = X[valid, :] | ||
| valid_Y = Y[valid, :] | ||
| # Split between objectives and constraints | ||
| valid_Yo = valid_Y[:, self.acquisition.objective_indices()] |
There was a problem hiding this comment.
Won't work if no feasible samples are found. Will fix, but I also found that EI won't work in any case if nothing is feasible (came across this before).
…ction, and cleanup of printing code
|
Code coverage decreased because:
Looking at the modifications needed to implement those I think we can just merge this and focus on gpflowopt 1.0 as the tests have changed significantly anyway. We should not forget to test those cases in gpflowopt 1.0 then. |
Fixes #82.
Prints:
Some comments:
Unconstrained:
Constrained: