fix formatting
This commit is contained in:
@@ -168,9 +168,7 @@ class Hyperopt:
|
|||||||
asked.append(self.opt.ask(dimensions))
|
asked.append(self.opt.ask(dimensions))
|
||||||
return asked
|
return asked
|
||||||
|
|
||||||
def get_asked_points(
|
def get_asked_points(self, n_points: int, dimensions: dict) -> tuple[list[Any], list[bool]]:
|
||||||
self, n_points: int, dimensions: dict
|
|
||||||
) -> tuple[list[Any], list[bool]]:
|
|
||||||
"""
|
"""
|
||||||
Enforce points returned from `self.opt.ask` have not been already evaluated
|
Enforce points returned from `self.opt.ask` have not been already evaluated
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ optuna_samplers_dict = {
|
|||||||
"CmaEsSampler": optuna.samplers.CmaEsSampler,
|
"CmaEsSampler": optuna.samplers.CmaEsSampler,
|
||||||
"NSGAIISampler": optuna.samplers.NSGAIISampler,
|
"NSGAIISampler": optuna.samplers.NSGAIISampler,
|
||||||
"NSGAIIISampler": optuna.samplers.NSGAIIISampler,
|
"NSGAIIISampler": optuna.samplers.NSGAIIISampler,
|
||||||
"QMCSampler": optuna.samplers.QMCSampler
|
"QMCSampler": optuna.samplers.QMCSampler,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user