5842d23998b60093319b44b223e31a778394713d,optuna/integration/lightgbm_tuner/optimize.py,OptunaObjective,__call__,#OptunaObjective#Any#,195
Before Change
self.lgbm_params["num_leaves"] = trial.suggest_int(
"num_leaves", 2, 2 ** max_depth)
if "feature_fraction" in self.target_param_names:
param_value = min(trial.suggest_uniform("feature_fraction", 0.4, 1.0 + EPS), 1.0)
self.lgbm_params["feature_fraction"] = param_value
if "bagging_fraction" in self.target_param_names:
param_value = min(trial.suggest_uniform("bagging_fraction", 0.4, 1.0 + EPS), 1.0)
self.lgbm_params["bagging_fraction"] = param_value
if "bagging_freq" in self.target_param_names:
self.lgbm_params["bagging_freq"] = trial.suggest_int("bagging_freq", 1, 7)
if "min_child_samples" in self.target_param_names:
After Change
self.lgbm_params["num_leaves"] = trial.suggest_int(
"num_leaves", 2, 2 ** max_depth)
if "feature_fraction" in self.target_param_names:
param_value = trial.suggest_uniform("feature_fraction", 0.4, 1.0)
self.lgbm_params["feature_fraction"] = param_value
if "bagging_fraction" in self.target_param_names:
param_value = trial.suggest_uniform("bagging_fraction", 0.4, 1.0)
self.lgbm_params["bagging_fraction"] = param_value
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pfnet/optuna
Commit Name: 5842d23998b60093319b44b223e31a778394713d
Time: 2019-10-07
Author: eowner@gmail.com
File Name: optuna/integration/lightgbm_tuner/optimize.py
Class Name: OptunaObjective
Method Name: __call__
Project Name: pfnet/optuna
Commit Name: 5842d23998b60093319b44b223e31a778394713d
Time: 2019-10-07
Author: eowner@gmail.com
File Name: optuna/integration/lightgbm_tuner/optimize.py
Class Name: OptunaObjective
Method Name: __call__
Project Name: pfnet/optuna
Commit Name: 4f02e087103d335a2de99227b233c5899ab1ba6d
Time: 2019-10-07
Author: sano@preferred.jp
File Name: examples/pruning/lightgbm_integration.py
Class Name:
Method Name: objective
Project Name: pfnet/optuna
Commit Name: 6b77bd28e3c2c45120c578e6d7c112a19b43c965
Time: 2019-10-07
Author: sano@preferred.jp
File Name: examples/lightgbm_simple.py
Class Name:
Method Name: objective