File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -481,7 +481,10 @@ Regression criteria
481
481
482
482
If the target is a continuous value, then for node :math: `m`,
483
483
representing a region :math: `R_m` with :math: `N_m` observations, common
484
- criteria to minimise are
484
+ criteria to minimise as for determining locations for future
485
+ splits are Mean Squared Error, which minimizes the L2 error
486
+ using mean values at terminal nodes, and Mean Absolute Error, which
487
+ minimizes the L1 error using median values at terminal nodes.
485
488
486
489
Mean Squared Error:
487
490
Original file line number Diff line number Diff line change @@ -879,8 +879,11 @@ class DecisionTreeRegressor(BaseDecisionTree, RegressorMixin):
879
879
criterion : string, optional (default="mse")
880
880
The function to measure the quality of a split. Supported criteria
881
881
are "mse" for the mean squared error, which is equal to variance
882
- reduction as feature selection criterion, and "mae" for the mean
883
- absolute error.
882
+ reduction as feature selection criterion and minimizes the L2 loss
883
+ using the mean of each terminal node, "friedman_mse", which uses mean
884
+ squared error with Friedman's improvement score for potential splits,
885
+ and "mae" for the mean absolute error, which minimizes the L1 loss
886
+ using the median of each terminal node.
884
887
885
888
.. versionadded:: 0.18
886
889
Mean Absolute Error (MAE) criterion.
You can’t perform that action at this time.
0 commit comments