From 0705c28201cc238fb699c32908610fccc22f4e18 Mon Sep 17 00:00:00 2001 From: Luiz Eduardo Amaral Date: Tue, 12 Oct 2021 00:16:05 -0300 Subject: [PATCH] Remove _"mse"_ from `RandomForestRegression` docstring The _"mae"_ criterion was removed from the docstring in 36915ae390fab4742f98c82dc6802f072c4effa5. For consistency I think that _"mse"_ should be removed as well since both were deprecated in 1.0. --- sklearn/ensemble/_forest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/ensemble/_forest.py b/sklearn/ensemble/_forest.py index 31ecfa8ee867f..21d6b6cf21988 100644 --- a/sklearn/ensemble/_forest.py +++ b/sklearn/ensemble/_forest.py @@ -1417,7 +1417,7 @@ class RandomForestRegressor(ForestRegressor): The default value of ``n_estimators`` changed from 10 to 100 in 0.22. - criterion : {"squared_error", "mse", "absolute_error", "poisson"}, \ + criterion : {"squared_error", "absolute_error", "poisson"}, \ default="squared_error" The function to measure the quality of a split. Supported criteria are "squared_error" for the mean squared error, which is equal to