From 865a4396b87a5f7dd78f35afab58ce888e2ecd28 Mon Sep 17 00:00:00 2001 From: Paul Koch Date: Thu, 26 Dec 2024 20:21:29 -0800 Subject: [PATCH] change default missing handling to "separate" --- python/interpret-core/interpret/glassbox/_ebm/_ebm.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/interpret-core/interpret/glassbox/_ebm/_ebm.py b/python/interpret-core/interpret/glassbox/_ebm/_ebm.py index 7888459e8..9d1bca5a1 100644 --- a/python/interpret-core/interpret/glassbox/_ebm/_ebm.py +++ b/python/interpret-core/interpret/glassbox/_ebm/_ebm.py @@ -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 @@ -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", @@ -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 @@ -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",