Skip to content

Commit

Permalink
Pass test_score
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-oHr-N committed Feb 3, 2020
1 parent b3d8e2c commit d1db1a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions optgbm/sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
# 1e-03, 10.0
# ),
"num_leaves": optuna.distributions.IntUniformDistribution(2, 127),
"reg_alpha": optuna.distributions.LogUniformDistribution(1e-06, 10.0),
"reg_lambda": optuna.distributions.LogUniformDistribution(1e-06, 10.0),
"reg_alpha": optuna.distributions.LogUniformDistribution(1e-09, 10.0),
"reg_lambda": optuna.distributions.LogUniformDistribution(1e-09, 10.0),
"subsample": optuna.distributions.DiscreteUniformDistribution(
0.5, 0.95, 0.05
),
Expand Down Expand Up @@ -274,7 +274,7 @@ def __init__(
importance_type: str = "split",
cv: Union[BaseCrossValidator, int] = 5,
enable_pruning: bool = False,
n_trials: int = 25,
n_trials: int = 10,
param_distributions: Optional[
Dict[optuna.distributions.BaseDistribution, str]
] = None,
Expand Down Expand Up @@ -832,7 +832,7 @@ def __init__(
importance_type: str = "split",
cv: Union[BaseCrossValidator, int] = 5,
enable_pruning: bool = False,
n_trials: int = 25,
n_trials: int = 10,
param_distributions: Optional[
Dict[optuna.distributions.BaseDistribution, str]
] = None,
Expand Down

0 comments on commit d1db1a6

Please sign in to comment.