@@ -796,7 +796,9 @@ class RandomForestClassifier(ForestClassifier):
796
796
797
797
min_weight_fraction_leaf : float, optional (default=0.)
798
798
The minimum weighted fraction of the sum total of weights (of all
799
- the input samples) required to be at a leaf node.
799
+ the input samples) required to be at a leaf node. Samples have
800
+ equal weight when sample_weight is not provided, but
801
+ min_samples_leaf is more efficient.
800
802
801
803
max_leaf_nodes : int or None, optional (default=None)
802
804
Grow trees with ``max_leaf_nodes`` in best-first fashion.
@@ -1001,7 +1003,9 @@ class RandomForestRegressor(ForestRegressor):
1001
1003
1002
1004
min_weight_fraction_leaf : float, optional (default=0.)
1003
1005
The minimum weighted fraction of the sum total of weights (of all
1004
- the input samples) required to be at a leaf node.
1006
+ the input samples) required to be at a leaf node. Samples have
1007
+ equal weight when sample_weight is not provided, but
1008
+ min_samples_leaf is more efficient.
1005
1009
1006
1010
max_leaf_nodes : int or None, optional (default=None)
1007
1011
Grow trees with ``max_leaf_nodes`` in best-first fashion.
@@ -1166,7 +1170,9 @@ class ExtraTreesClassifier(ForestClassifier):
1166
1170
1167
1171
min_weight_fraction_leaf : float, optional (default=0.)
1168
1172
The minimum weighted fraction of the sum total of weights (of all
1169
- the input samples) required to be at a leaf node.
1173
+ the input samples) required to be at a leaf node. Samples have
1174
+ equal weight when sample_weight is not provided, but
1175
+ min_samples_leaf is more efficient.
1170
1176
1171
1177
max_leaf_nodes : int or None, optional (default=None)
1172
1178
Grow trees with ``max_leaf_nodes`` in best-first fashion.
@@ -1370,7 +1376,9 @@ class ExtraTreesRegressor(ForestRegressor):
1370
1376
1371
1377
min_weight_fraction_leaf : float, optional (default=0.)
1372
1378
The minimum weighted fraction of the sum total of weights (of all
1373
- the input samples) required to be at a leaf node.
1379
+ the input samples) required to be at a leaf node. Samples have
1380
+ equal weight when sample_weight is not provided, but
1381
+ min_samples_leaf is more efficient.
1374
1382
1375
1383
max_leaf_nodes : int or None, optional (default=None)
1376
1384
Grow trees with ``max_leaf_nodes`` in best-first fashion.
@@ -1521,7 +1529,9 @@ class RandomTreesEmbedding(BaseForest):
1521
1529
1522
1530
min_weight_fraction_leaf : float, optional (default=0.)
1523
1531
The minimum weighted fraction of the sum total of weights (of all
1524
- the input samples) required to be at a leaf node.
1532
+ the input samples) required to be at a leaf node. Samples have
1533
+ equal weight when sample_weight is not provided, but
1534
+ min_samples_leaf is more efficient.
1525
1535
1526
1536
max_leaf_nodes : int or None, optional (default=None)
1527
1537
Grow trees with ``max_leaf_nodes`` in best-first fashion.
0 commit comments