Fix linter

This commit is contained in:
Contramundum committed 2023-09-08 13:57:35 +09:00
1 parent e8ac8e118c
commit cbb709d0df
1 file changed
+1 -1
+1 -1
View File
@@ -318,7 +318,7 @@ class PreferentialGPSampler(optuna.samplers.BaseSampler):
trials = study.get_trials(deepcopy=False)
trials_with_preference = list({t for (b, w) in preferences for t in (b, w)})
ids = {t: i for i, t in enumerate(trials_with_preference)}
trans = optuna._transform._SearchSpaceTransform(
search_space, transform_log=True, transform_step=True, transform_0_1=True
)