Skip to content

Commit

Permalink
Changed ResComp hyper parameters because they were leading to constan…
Browse files Browse the repository at this point in the history
…t forecasts.
  • Loading branch information
djpasseyjr committed Sep 25, 2024
1 parent 6b600ca commit ce52693
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions interfere/methods/reservoir_computer.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,13 +576,14 @@ def get_test_param_grid():

def _get_optuna_params(trial):
return {
"gamma": trial.suggest_float("gamma", 0.1, 500),
"sigma": trial.suggest_float("sigma", 0.001, 100),
"delta": trial.suggest_float("delta", 0.001, 100),
"gamma": trial.suggest_float("gamma", 0.1, 20),
"sigma": trial.suggest_float("sigma", 0, 1),
"delta": trial.suggest_float("delta", 0, 1),
"mean_degree": trial.suggest_float("mean_degree", 0.1, 5),
"res_sz": trial.suggest_int("res_sz", 10, 100),
"window": trial.suggest_float("window", 0.001, 100, log=True),
"spect_rad": trial.suggest_float("spect_rad", 0.001, 100, log=True),
"ridge_alpha": trial.suggest_float("ridge_alpha", 1e-10, 100, log=True),
"spect_rad": trial.suggest_float("spect_rad", 0.1, 0.9),
"ridge_alpha": trial.suggest_float(
"ridge_alpha", 1e-10, 0.1, log=True),
"map_initial": "activ_f"
}

0 comments on commit ce52693

Please sign in to comment.