8000 DOC Remove _"mse"_ from `RandomForestRegression` docstring (#21306) · scikit-learn/scikit-learn@57658ba · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 57658ba

Browse files
authored
DOC Remove _"mse"_ from RandomForestRegression docstring (#21306)
The _"mae"_ criterion was removed from the docstring in 36915ae. For consistency I think that _"mse"_ should be removed as well since both were deprecated in 1.0.
1 parent 0379747 commit 57658ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/ensemble/_forest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ class RandomForestRegressor(ForestRegressor):
14171417
The default value of ``n_estimators`` changed from 10 to 100
14181418
in 0.22.
14191419
1420-
criterion : {"squared_error", "mse", "absolute_error", "poisson"}, \
1420+
criterion : {"squared_error", "absolute_error", "poisson"}, \
14211421
default="squared_error"
14221422
The function to measure the quality of a split. Supported criteria
14231423
are "squared_error" for the mean squared error, which is equal to

0 commit comments

Comments
 (0)
0