Skip to content

Commit

Permalink
test saga solver
Browse files Browse the repository at this point in the history
  • Loading branch information
timovdk committed Jan 23, 2025
1 parent 6651a2f commit f597599
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion asreview2-optuna/classifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def logistic_params(trial: optuna.trial.FrozenTrial):
# Use logarithmic normal distribution for C (C effect is non-linear)
C = trial.suggest_float("log__C", 0.01, 10, log=True)

solver = "lbfgs"
solver = trial.suggest_categorical("log__solver", ["lbfgs", "saga"])

return {"C": C, "solver": solver}

Expand Down
2 changes: 1 addition & 1 deletion asreview2-optuna/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from feature_extractors import feature_extractor_params, feature_extractors

# Study variables
VERSION = 1
VERSION = 2
STUDY_SET = "demo"
PICKLE_FOLDER_PATH = Path("synergy-dataset", "pickles")
CLASSIFIER_TYPE = "log" # Options: "nb", "log", "svm", "rf"
Expand Down

0 comments on commit f597599

Please sign in to comment.