Skip to content

Commit

Permalink
Comment out GPyOpt BO and remove its mention in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
noscode committed Nov 6, 2024
1 parent e5ca77b commit 958382c
Show file tree
Hide file tree
Showing 4 changed files with 322 additions and 324 deletions.
2 changes: 0 additions & 2 deletions docs/source/api/gadma.optimizers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ The following optimizers are registered:
+=================================+==========================================================================================+===================================================+
| "Genetic_algorithm" | Genetic algorithm optimization | :class:`gadma.optimizers.GeneticAlgorithm` |
+---------------------------------+------------------------------------------------------------------------------------------+---------------------------------------------------+
| "GPyOpt_Bayesian_optimization" | Bayesian optimization (`GPyOpt <https://github.com/SheffieldML/GPyOpt>`_) | :class:`gadma.optimizers.GPyOptBayesianOptimizer` |
+---------------------------------+------------------------------------------------------------------------------------------+---------------------------------------------------+
| "SMAC_squirrel_optimization" | Bayesian optimization | |
| | (`SMAC squirrel <https://github.com/automl/Squirrel-Optimizer-BBO-NeurIPS20-automlorg>`_)| :class:`gadma.optimizers.SMACSquirellOptimizer` |
+---------------------------------+------------------------------------------------------------------------------------------+---------------------------------------------------+
Expand Down
16 changes: 8 additions & 8 deletions gadma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
except ImportError:
demesdraw = None

try:
import GPy
except ImportError:
GPy = None
try:
import GPyOpt
except ImportError:
GPyOpt = None
#try:
# import GPy
#except ImportError:
# GPy = None
#try:
# import GPyOpt
#except ImportError:
# GPyOpt = None
try:
import smac # NOQA
import ConfigSpace # NOQA
Expand Down
Loading

0 comments on commit 958382c

Please sign in to comment.