8000 EHN Add max sample size when drawing bootstrap to forest ensembles (#… · scikit-learn/scikit-learn@746efb5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 746efb5

Browse files
notmatthancockglemaitre
authored andcommitted
EHN Add max sample size when drawing bootstrap to forest ensembles (#14682)
1 parent 2c8ce45 commit 746efb5

File tree

3 files changed

+222
-24
lines changed

3 files changed

+222
-24
lines changed

doc/whats_new/v0.22.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,18 @@ Changelog
219219
and :class:`ensemble.HistGradientBoostingRegressor` instead.
220220
:pr:`14907` by `Adrin Jalali`_.
221221

222+
- |Enhancement| Addition of ``max_samples`` argument allows limiting
223+
size of bootstrap samples to be less than size of dataset. Added to
224+
:class:`ensemble.forest.ForestClassifier`,
225+
:class:`ensemble.forest.ForestRegressor`,
226+
:class:`ensemble.forest.RandomForestClassifier`,
227+
:class:`ensemble.forest.RandomForestRegressor`,
228+
:class:`ensemble.forest.ExtraTreesClassifier`,
229+
:class:`ensemble.forest.ExtraTreesRegressor`,
230+
:class:`ensemble.forest.RandomTreesEmbedding`. :pr:`14682` by
231+
:user:`Matt Hancock <notmatthancock>` and
232+
:pr:`5963` by :user:`Pablo Duboue <DrDub>`.
233+
222234
:mod:`sklearn.feature_extraction`
223235
.................................
224236

0 commit comments

Comments
 (0)
0