File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -809,7 +809,8 @@ class GradientBoostingClassifier(ClassifierMixin, BaseGradientBoosting):
809
809
.. versionadded:: 0.18
810
810
.. deprecated:: 0.24
811
811
`criterion='mae'` is deprecated and will be removed in version
812
- 0.26.
812
+ 0.26. Use `criterion='friedman_mse'` or `'mse'` instead, as trees
813
+ should use a least-square criterion in Gradient Boosting.
813
814
814
815
min_samples_split : int or float, default=2
815
816
The minimum number of samples required to split an internal node:
@@ -1330,7 +1331,8 @@ class GradientBoostingRegressor(RegressorMixin, BaseGradientBoosting):
1330
1331
.. versionadded:: 0.18
1331
1332
.. deprecated:: 0.24
1332
1333
`criterion='mae'` is deprecated and will be removed in version
1333
- 0.26.
1334
+ 0.26. The correct way of minimizing the absolute error is to use
1335
+ `loss='lad'` instead.
1334
1336
1335
1337
min_samples_split : int or float, default=2
1336
1338
The minimum number of samples required to split an internal node:
You can’t perform that action at this time.
0 commit comments