Skip to content

Commit

Permalink
local_level_list param
Browse files Browse the repository at this point in the history
  • Loading branch information
lytex committed Sep 4, 2024
1 parent f5b97a7 commit ea38c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optuna_trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def objective(trial, global_level_list=None, local_level_list=None, use_wavelet=
levels_local = 3
global_level_list = trial.suggest_categorical("global_level_list", [tuple(reduce(lambda x, y: x+y, [[i+1]*bool(x&(2**i)) for i in range(levels_global)], [])) for x in range(2**(levels_global+1))])
local_level_list = trial.suggest_categorical("local_level_list", [tuple(reduce(lambda x, y: x+y, [[i+1]*bool(x&(2**i)) for i in range(levels_local)], [])) for x in range(2**(levels_local+1))])
local_level_list = tuple()
# local_level_list = tuple()

# global_level_list = (1, 5,)
# local_level_list = (1, 3,)
Expand Down

0 comments on commit ea38c78

Please sign in to comment.