mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-04-29 13:31:22 +00:00
fix formatting
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user