Skip to content

Commit

Permalink
Change parameter configuration for SINDY so optuna studies return usa…
Browse files Browse the repository at this point in the history
…ble parameters.
  • Loading branch information
djpasseyjr committed Oct 28, 2024
1 parent 0433023 commit 817a7a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions interfere/_methods/sindy.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ def _get_optuna_params(trial):
'discrete_time': trial.suggest_categorical(
'discrete_time', [True, False]),

'feature_library': SINDY_LIB_LIST[
trial.suggest_categorical('feature_library', [0, 1])],
'feature_library':
trial.suggest_categorical('feature_library', SINDY_LIB_LIST),

'differentiation_method': SINDY_DIFF_LIST[
'differentiation_method':
trial.suggest_categorical(
"differentiation_method", list(range(9)))]
"differentiation_method", SINDY_DIFF_LIST)
}

0 comments on commit 817a7a4

Please sign in to comment.