fix formatting

This commit is contained in:
viotemp1
2025-03-26 21:30:18 +02:00
parent ee3d46c8fa
commit 6b78b1c882
2 changed files with 2 additions and 4 deletions

View File

@@ -168,9 +168,7 @@ class Hyperopt:
asked.append(self.opt.ask(dimensions))
return asked
def get_asked_points(
self, n_points: int, dimensions: dict
) -> tuple[list[Any], list[bool]]:
def get_asked_points(self, n_points: int, dimensions: dict) -> tuple[list[Any], list[bool]]:
"""
Enforce points returned from `self.opt.ask` have not been already evaluated

View File

@@ -51,7 +51,7 @@ optuna_samplers_dict = {
"CmaEsSampler": optuna.samplers.CmaEsSampler,
"NSGAIISampler": optuna.samplers.NSGAIISampler,
"NSGAIIISampler": optuna.samplers.NSGAIIISampler,
"QMCSampler": optuna.samplers.QMCSampler
"QMCSampler": optuna.samplers.QMCSampler,
}