From cbb709d0df67ad1d0ff9dbae325ab0f15e386592 Mon Sep 17 00:00:00 2001 From: Contramundum Date: Fri, 8 Sep 2023 13:57:35 +0900 Subject: [PATCH] Fix linter --- optuna_dashboard/preferential/samplers/gp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optuna_dashboard/preferential/samplers/gp.py b/optuna_dashboard/preferential/samplers/gp.py index 226cbe3a..3a4675e5 100644 --- a/optuna_dashboard/preferential/samplers/gp.py +++ b/optuna_dashboard/preferential/samplers/gp.py @@ -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 )