Skip to content

Commit

Permalink
fix: update learning rate default value for XGB models
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Nov 6, 2023
1 parent 96585aa commit f30e4e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/concrete/ml/sklearn/xgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(
self,
n_bits: int = 6,
max_depth: Optional[int] = 3,
learning_rate: Optional[float] = 0.1,
learning_rate: Optional[float] = None,
n_estimators: Optional[int] = 20,
objective: Optional[str] = "binary:logistic",
booster: Optional[str] = None,
Expand Down Expand Up @@ -233,7 +233,7 @@ def __init__(
self,
n_bits: int = 6,
max_depth: Optional[int] = 3,
learning_rate: Optional[float] = 0.1,
learning_rate: Optional[float] = None,
n_estimators: Optional[int] = 20,
objective: Optional[str] = "reg:squarederror",
booster: Optional[str] = None,
Expand Down

0 comments on commit f30e4e1

Please sign in to comment.