Maxwell
26f5b26273
ENH Add get_feature_names_out for RandomTreesEmbedding module ( #21762 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-08 19:29:22 +01:00
Thomas J. Fan
5f75acdd12
MNT Bump joblib version dependency to 1.0.0 ( #22365 )
2022-02-09 13:47:18 +01:00
Pieter Gijsbers
b242b9dd20
ENH Pass only bootstrap to `_parallel_build_trees` ( #22106 )
2021-12-31 15:31:37 -05:00
Mandy Gu
379919dc59
ENH Add optional parameter to return raw data for diabetes dataset ( #16605 )
...
Co-authored-by: happilyeverafter95 <mgu@wealthsimple.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 11:33:18 +01:00
Guillaume Lemaitre
b290da777c
DOC fix versionadded in forest ( #21890 )
2021-12-06 16:07:54 +01:00
Brian Sun
4d68797e27
ENH Updating defaults for RandomForestRegressor and Classifier ( #20803 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-30 00:29:46 +01:00
Thomas J. Fan
071f98f0a7
FIX Remove warnings when fitting a dataframe ( #21578 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-11-29 17:55:37 +01:00
Haoyin Xu
f96ce586ee
FIX raise error for max_samples if no bootstrap & optimize forest tests ( #21295 )
...
* FIX raise error for max_samples if no bootstrap
* EHN move check position by suggestion
* FIX add bootstrap parameter to tests
* FIX resolve test error & DOC add log
* FIX add test coverage for bootstrap check
* DOC optimize error message
* FIX resolve test error
* ENH restrict sample bootstrap
* ENH optimize bootstrap conditions
2021-11-25 13:23:27 +01:00
Jérémie du Boisberranger
a9bf7f38d7
FIX delete feature_names_in_ when refitting on a ndarray ( #21389 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-23 12:30:05 +02:00
Luiz Eduardo Amaral
c23ff7ea15
DOC Remove deprecated loss function names from docstrings ( #21314 )
2021-10-14 18:07:10 +02:00
Luiz Eduardo Amaral
57658ba4ba
DOC Remove _"mse"_ from `RandomForestRegression` docstring ( #21306 )
...
The _"mae"_ criterion was removed from the docstring in 36915ae390 . For consistency I think that _"mse"_ should be removed as well since both were deprecated in 1.0.
2021-10-13 18:23:04 +02:00
Guillaume Lemaitre
28567a5073
DOC correct the type of estimator attributes ( #21141 )
2021-09-24 11:12:17 -04:00
Olivier Grisel
9fab35864f
Fix OvOClassifier.n_features_in_ and other unexpected warning at prediction time when checking feature_names_in_ ( #20853 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-09-01 11:36:01 +02:00
Olivier Grisel
d61662b625
ENH feature_names_in_ for sklearn.ensemble ( #20818 )
2021-08-25 23:40:54 +02:00
Guillaume Lemaitre
2df2807fbf
FIX correct some typo from #19859 ( #20691 )
2021-08-06 12:03:45 +02:00
Guillaume Lemaitre
a44e9a8ca6
TST check multilabel common check for supported estimators ( #19859 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-08-06 10:57:55 +02:00
Guillaume Lemaitre
d820635be1
DOC correct mixup in See Also from forest
2021-07-27 22:06:34 +02:00
genvalen
c17e7f0fba
DOC Ensures that ExtraTreesClassifier passes numpydoc validation ( #20620 )
2021-07-27 21:59:30 +02:00
genvalen
778434569f
DOC Ensures that RandomTreesEmbedding passes numpydoc validation ( #20613 )
2021-07-27 09:08:41 +02:00
Aline Ribeiro de Almeida
f2a6e109f7
DOC Ensures that RandomForestClassifier passes numpydoc validation ( #20383 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-07 13:34:20 +02:00
Aline Ribeiro de Almeida
427d696936
DOC Ensures that RandomForestRegressor passes numpydoc validation ( #20401 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-29 14:08:27 +02:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +02:00
Thomas J. Fan
383b53fa91
FIX Uses code literals in deprecated to prevent linking ( #20410 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-28 15:49:19 +02:00
Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04:00
Jérémie du Boisberranger
ef71c8597e
MNT Clean deprecations for 1.0 | trees ( #19336 )
2021-06-15 18:18:47 +02:00
Francois Berenger
bd6f9e42da
Update _forest.py ( #20241 )
2021-06-11 18:00:58 +02:00
Guillaume Lemaitre
1cd282d600
DOC add n_features_in_ in the documentation ( #20236 )
2021-06-09 16:58:03 +02:00
Brian Sun
36915ae390
ENH Adds Poisson criterion in RandomForestRegressor ( #19836 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Alihan Zihna <alihanz@gmail.com>
Co-authored-by: Alihan Zihna <a.zihna@ckhgbdp.onmicrosoft.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: naozin555 <37050583+naozin555@users.noreply.github.com>
Co-authored-by: Venkatachalam N <venky.yuvy@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-05 22:45:23 -04:00
murata-yu
a1a6b3a960
FIX Fix RandomForestRegressor doesn't accept max_samples=1.0 ( #20159 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-04 09:23:05 -04:00
Tom Dupré la Tour
f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args ( #20002 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Christian Lorentzen
2bd3a4db52
ENH Consistent loss name for absolute error ( #19733 )
2021-05-10 22:10:21 +02:00
Christian Lorentzen
b9d6db81ec
[MRG] ENH Consistent loss name for squared error ( #19310 )
2021-03-19 15:21:34 +01:00
Christian Lorentzen
6852e31da8
ENH Adds n_features_in_ to ensemble module ( #19326 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-02-22 21:18:21 +01:00
Martin Hirzel
a0ba256dbe
DOC oob_score is only available when bootstrap=True ( #19444 )
2021-02-15 12:42:51 +00:00
Guillaume Lemaitre
35b2bbf851
FIX/MNT do not support OOB score for multiclass-multioutput and additional refactoring ( #19162 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-01-25 13:46:18 +01:00
Guillaume Lemaitre
2218ec4622
MNT change 0.25 to 1.0 and 0.26 to 1.1 in deprecation messages ( #19005 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-12-18 16:09:19 +00:00
Thomas J. Fan
06d6f8a9f6
FIX Passes global configuration when spawning joblib jobs ( #17634 )
...
* WIP
* BUG Passes context to joblib jobs
* BUG Fix
* BUG Fix
* CLN Moves delayed into fixes
* CLN Adds linter
* REV Revert diff
* DOC Adds comment for removal
* Use a simple implementation
2020-09-21 16:59:42 +02:00
Albert Villanova del Moral
647fcb1ac1
DOC Fix A to uppercase in See Also docstring section ( #18332 )
2020-09-04 10:35:01 -04:00
Frans Larsson
a675319e93
DOC fix docstring in ensemble module ( #18228 )
2020-08-21 23:44:21 +02:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Jigna Panchal
8186557b0e
DOC add missing attributes in RandomTreesEmbedding ( #15520 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-18 09:44:30 +02:00
Charles Patel
1abf84affe
DOC Updates RandomForestClassifier docstring for max_features ( #17552 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-15 18:14:42 +02:00
Charles Patel
c3835442e5
remove int() ( #17539 )
2020-06-09 11:10:31 +02:00
Nicolas Hug
76ef8b0ef0
API kwonly for utils ( #17046 )
...
* kwonly for utils
* More
* fixed some
* some more
* iwannagohomepls
* accept_sparse not kwonly anymore
2020-04-27 15:42:01 +02:00
Adrin Jalali
97a6b08544
API make __init__ args in ensemble kwonly ( #16724 )
2020-04-01 06:35:37 +11:00
Johann Faouzi
78b7a50f23
DOC Update docstring of RFs regarding max_samples ( #16738 )
2020-03-21 13:56:34 -04:00
Katrina Ni
b853653234
DOC add examples in docstring of ensemble of trees methods ( #16676 )
...
Co-authored-by: Andrea Maldonado <andreamalher@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Katrina Ni <kani@tableau.com>
2020-03-16 14:48:56 +01:00
Tim Nonner
1c74490365
DOC Adds example for RandomTreesEmbedding ( #15202 )
2020-02-29 13:43:30 -05:00
Nicolas Hug
d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd ( #16112 )
2020-02-29 09:05:11 -05:00
Nicolas Hug
9412f50c8c
ENH Fast PDP for DecisionTreeRegressor and RandomForestRegressor ( #15864 )
2020-02-24 18:53:55 +11:00