Skip to content

Commit

Permalink
Merge pull request optuna#5258 from nzw0301/revise-specify-params-tut…
Browse files Browse the repository at this point in the history
…orial

Remove unnecessary comment in `Specify Hyperparameters Manually` tutorial page
  • Loading branch information
nabenabe0928 committed Feb 21, 2024
2 parents 4571da4 + ea3a7c6 commit cbf62c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tutorial/20_recipes/008_specify_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def objective(trial):
"min_child_samples": trial.suggest_int("min_child_samples", 5, 100),
}

# Add a callback for pruning.
gbm = lgb.train(param, dtrain, valid_sets=[dvalid])

preds = gbm.predict(valid_x)
Expand Down

0 comments on commit cbf62c3

Please sign in to comment.