@@ -101,7 +101,7 @@ def tabular_pipeline(estimator, *, n_jobs=None):
101101 :class:`~skrub.MinHashEncoder` to :class:`~skrub.StringEncoder`.
102102
103103 .. versionchanged:: 0.7.0
104- The :class:`~skrub.SquashingScaler` with `max_absolute_value=10 ` is now used instead of
104+ The :class:`~skrub.SquashingScaler` with `max_absolute_value=5 ` is now used instead of
105105 :class:`~sklearn.preprocessing.StandardScaler` for centering and scaling
106106 numerical features when using linear models.
107107
@@ -221,7 +221,7 @@ def tabular_pipeline(estimator, *, n_jobs=None):
221221 Pipeline(steps=[('tablevectorizer',
222222 TableVectorizer(datetime=DatetimeEncoder(periodic_encoding='spline'))),
223223 ('simpleimputer', SimpleImputer(add_indicator=True)),
224- ('squashingscaler', SquashingScaler(max_absolute_value=10 )),
224+ ('squashingscaler', SquashingScaler(max_absolute_value=5 )),
225225 ('logisticregression', LogisticRegression())])
226226
227227 By applying only the first pipeline step we can see the transformed data that is
@@ -253,7 +253,7 @@ def tabular_pipeline(estimator, *, n_jobs=None):
253253 - A :obj:`~sklearn.impute.SimpleImputer`, as the
254254 :obj:`~sklearn.linear_model.LogisticRegression` cannot handle missing values.
255255
256- - A :obj:`~skrub.SquashingScaler` for centering and standard scaling
256+ - A :obj:`~skrub.SquashingScaler` for centering and scaling
257257 numerical features.
258258
259259 On the other hand, For the :obj:`~sklearn.ensemble.HistGradientBoostingClassifier`
@@ -337,6 +337,6 @@ def tabular_pipeline(estimator, *, n_jobs=None):
337337 if not get_tags (estimator ).input_tags .allow_nan :
338338 steps .append (SimpleImputer (add_indicator = True ))
339339 if not isinstance (estimator , _TREE_ENSEMBLE_CLASSES ):
340- steps .append (SquashingScaler (max_absolute_value = 10 ))
340+ steps .append (SquashingScaler (max_absolute_value = 5 ))
341341 steps .append (estimator )
342342 return make_pipeline (* steps )
0 commit comments