Skip to content

Commit

Permalink
change default missing handling to "separate"
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Dec 27, 2024
1 parent 4204754 commit 865a439
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/interpret-core/interpret/glassbox/_ebm/_ebm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2771,7 +2771,7 @@ class ExplainableBoostingClassifier(ClassifierMixin, EBMModel):
L2 regularization.
max_delta_step : float, default=0.0
Used to limit the max output of tree leaves. <=0.0 means no constraint.
missing: str, default="low"
missing: str, default="separate"
Method for handling missing values during boosting. The placement of the missing value bin can influence
the resulting model graphs. For example, placing the bin on the "low" side may cause missing values to
Expand Down Expand Up @@ -2944,7 +2944,7 @@ def __init__(
reg_alpha: Optional[float] = 0.0,
reg_lambda: Optional[float] = 0.0,
max_delta_step: Optional[float] = 0.0,
missing: str = "low",
missing: str = "separate",
max_leaves: int = 3,
monotone_constraints: Optional[Sequence[int]] = None,
objective: str = "log_loss",
Expand Down Expand Up @@ -3143,7 +3143,7 @@ class ExplainableBoostingRegressor(RegressorMixin, EBMModel):
L2 regularization.
max_delta_step : float, default=0.0
Used to limit the max output of tree leaves. <=0.0 means no constraint.
missing: str, default="low"
missing: str, default="separate"
Method for handling missing values during boosting. The placement of the missing value bin can influence
the resulting model graphs. For example, placing the bin on the "low" side may cause missing values to
Expand Down Expand Up @@ -3316,7 +3316,7 @@ def __init__(
reg_alpha: Optional[float] = 0.0,
reg_lambda: Optional[float] = 0.0,
max_delta_step: Optional[float] = 0.0,
missing: str = "low",
missing: str = "separate",
max_leaves: int = 2,
monotone_constraints: Optional[Sequence[int]] = None,
objective: str = "rmse",
Expand Down

0 comments on commit 865a439

Please sign in to comment.