@@ -694,6 +694,9 @@ class RandomForestClassifier(ForestClassifier):
694
694
A random forest is a meta estimator that fits a number of decision tree
695
695
classifiers on various sub-samples of the dataset and use averaging to
696
696
improve the predictive accuracy and control over-fitting.
697
+ The sub-sample size is always the same as the original
698
+ input sample size but the samples are drawn with replacement if
699
+ `bootstrap=True` (default).
697
700
698
701
Read more in the :ref:`User Guide <forest>`.
699
702
@@ -715,7 +718,7 @@ class RandomForestClassifier(ForestClassifier):
715
718
`int(max_features * n_features)` features are considered at each
716
719
split.
717
720
- If "auto", then `max_features=sqrt(n_features)`.
718
- - If "sqrt", then `max_features=sqrt(n_features)`.
721
+ - If "sqrt", then `max_features=sqrt(n_features)` (same as "auto") .
719
722
- If "log2", then `max_features=log2(n_features)`.
720
723
- If None, then `max_features=n_features`.
721
724
@@ -883,6 +886,9 @@ class RandomForestRegressor(ForestRegressor):
883
886
A random forest is a meta estimator that fits a number of classifying
884
887
decision trees on various sub-samples of the dataset and use averaging
885
888
to improve the predictive accuracy and control over-fitting.
889
+ The sub-sample size is always the same as the original
890
+ input sample size but the samples are drawn with replacement if
891
+ `bootstrap=True` (default).
886
892
887
893
Read more in the :ref:`User Guide <forest>`.
888
894
0 commit comments