File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2727 - name : Build distribution
2828 run : python setup.py sdist bdist_wheel
2929
30- - name : Run examples
31- run : pip install .&&find examples -maxdepth 2 -name "*.py" -exec python3 {} \;
30+ # - name: Run examples
31+ # run: pip install .&&find examples -maxdepth 2 -name "*.py" -exec python3 {} \;
3232
3333 - name : Publish to PyPI
3434 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class GPOpt:
4545 params_names: a list;
4646 names of the parameters of the objective function (optional)
4747
48- surrogate_obj: a GaussianProcessRegressor object;
48+ surrogate_obj: an object;
4949 An ML model for estimating the uncertainty around the objective function
5050
5151 x_init:
@@ -459,7 +459,7 @@ def optimize(
459459 additional number of iterations for the optimizer (which has been run once)
460460
461461 abs_tol: a float;
462- tolerance for convergence of the optimizer (early stopping based on expected improvement )
462+ tolerance for convergence of the optimizer (early stopping based on acquisition function )
463463
464464 min_budget: an integer (default is 50);
465465 minimum number of iterations before early stopping controlled by `abs_tol`
@@ -820,9 +820,9 @@ def optimize(
820820 # if self.max_acq.size > (self.n_init + self.n_iter * min_budget_pct):
821821 if len (self .max_acq ) > min_budget :
822822
823- diff_max_ei = np .abs (np .diff (np .asarray (self .max_acq )))
823+ diff_max_acq = np .abs (np .diff (np .asarray (self .max_acq )))
824824
825- if diff_max_ei [- 1 ] <= abs_tol :
825+ if diff_max_acq [- 1 ] <= abs_tol :
826826
827827 iter_stop = len (self .max_acq ) # index i starts at 0
828828
Original file line number Diff line number Diff line change 33from codecs import open
44from os import path
55
6- __version__ = "0.7.0 "
6+ __version__ = "0.7.1 "
77
88subprocess .call ("pip install -r requirements.txt" , shell = True )
99
You can’t perform that action at this time.
0 commit comments