Skip to content

Commit a2972d4

Browse files
authored
add optuna optional import (#187)
add optuna optional import to init file
1 parent 135ac9d commit a2972d4

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ where = ["src"]
77

88
[project]
99
name = "hyperactive"
10-
version = "5.0.0"
10+
version = "5.0.1"
1111
description = "An optimization and data collection toolbox for convenient and fast prototyping of computationally expensive models."
1212
readme = "README.md"
1313
requires-python = ">=3.9"

‎src/hyperactive/opt/__init__.py‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@
2828
StochasticHillClimbing,
2929
TreeStructuredParzenEstimators,
3030
)
31+
from .optuna import (
32+
CmaEsOptimizer,
33+
GPOptimizer,
34+
GridOptimizer,
35+
NSGAIIIOptimizer,
36+
NSGAIIOptimizer,
37+
QMCOptimizer,
38+
RandomOptimizer,
39+
TPEOptimizer,
40+
)
3141

3242
__all__ = [
3343
"GridSearchSk",
@@ -53,4 +63,12 @@
5363
"BayesianOptimizer",
5464
"TreeStructuredParzenEstimators",
5565
"ForestOptimizer",
66+
"TPEOptimizer",
67+
"RandomOptimizer",
68+
"CmaEsOptimizer",
69+
"GPOptimizer",
70+
"GridOptimizer",
71+
"NSGAIIOptimizer",
72+
"NSGAIIIOptimizer",
73+
"QMCOptimizer",
5674
]

0 commit comments

Comments
 (0)