Samuel O. Ronsin
8b95194888
FIX force node values outside of [0, 1] range for monotonically constraints classification trees ( #27639 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2023-12-07 16:27:54 +01:00
Guillaume Lemaitre
4ebc5e25e6
MAINT remove old code related to removed option max_features="auto" ( #27698 )
2023-11-03 12:45:05 +05:00
Thomas J. Fan
409485167b
ENH Adds support for missing values in Random Forest ( #26391 )
...
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-07-27 16:37:20 +00:00
Samuel O. Ronsin
b88b53985d
ENH Monotonic Contraints for Tree-based models ( #13649 )
...
Co-authored-by: Pat O'Reilly <patrick.oreilly256@gmail.com>
Co-authored-by: dsleo <leooleds@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-07-01 13:46:12 +02:00
Adrin Jalali
42173fdb34
MNT add isort to ruff's rules ( #26649 )
2023-06-21 17:50:07 +02:00
Thomas J. Fan
15f7cfbc05
CLN Renames missing_values_in_feature_mask ( #26580 )
2023-06-14 16:50:04 +00:00
Jérémie du Boisberranger
9c266cf5d6
MAINT Param validation: decorate all estimators with _fit_context ( #26473 )
2023-06-14 16:52:35 +02:00
Thomas J. Fan
6392148d80
ENH Adds missing value support for trees ( #23595 )
...
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-05-04 10:19:24 +02:00
Adrin Jalali
893d5accaf
MNT Update black to 23.3.0 ( #26110 )
2023-04-06 12:14:16 -04:00
Jérémie du Boisberranger
4751545b55
MAINT Clean-up deprecated max_features="auto" in trees/forests/gb ( #25941 )
2023-03-22 11:30:19 -04:00
Jérémie du Boisberranger
9d55835574
MAINT Ensure disjoint interval constraints ( #25797 )
2023-03-15 14:44:09 -04:00
Jérémie du Boisberranger
86548dfdc2
FIX Raise an error when min_samples_split=1 in trees ( #25744 )
2023-03-06 17:32:25 -05:00
Kraig
bcff21e0ed
DOC fix some typos in docstring ( #24416 )
2022-09-12 10:59:11 +02:00
Jérémie du Boisberranger
b4f51fd156
MAINT Clean deprecation for 1.2: n_features_ replaced by n_featues_in_ ( #24388 )
2022-09-08 11:15:06 -04:00
Jérémie du Boisberranger
29cdbe7bcf
MAINT Clean deprecation for 1.2: criterion="mse"/"mae" in trees ( #24384 )
2022-09-07 15:37:13 +02:00
Thomas J. Fan
02ebf9e68f
MNT Adds dict typing hint to _parameter_constraints for mypy ( #24301 )
2022-08-30 11:01:10 +02:00
Thomas J. Fan
f2b085db9b
DOC Fixes docstring for max_features in trees ( #23982 )
2022-07-25 19:24:57 +02:00
Moritz Wilksch
549fbb8c41
MAINT use `_validate_params` in `DecisionTreeClassifier` and `DecisionTreeRegressor` ( #23499 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-06-24 12:19:36 +02:00
Shuangchi He
2e3abc2e32
MAINT Fix some typos ( #23251 )
2022-04-30 15:03:40 -04:00
Christian Lorentzen
6ce5c0acad
ENH add criterion log_loss as alternative to entropy in trees and forests ( #23047 )
2022-04-14 08:03:01 +02:00
Maxwell
e5736afb31
API Deprecate max_feature=`auto` for tree classes ( #22476 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-23 17:59:23 +01:00
genvalen
b80138fccb
MAINT Use check_scalar in BaseGradientBoosting ( #21632 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-02-07 15:32:22 -05:00
Thomas J. Fan
2cdcf104b6
MAINT Fix check_scalar error in trees ( #22302 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-26 19:16:12 +01:00
genvalen
7879eb1193
MAINT Use check_scalar in BaseDecisionTree ( #21990 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-24 20:25:36 +01:00
Guillaume Lemaitre
cc81c4f2ba
MNT remove X_idx_sorted parameter in decision trees ( #21593 )
2021-11-08 08:08:43 +01:00
Luiz Eduardo Amaral
c23ff7ea15
DOC Remove deprecated loss function names from docstrings ( #21314 )
2021-10-14 18:07:10 +02:00
Dimitri Papadopoulos Orfanos
f71c031314
DOC Typos found by codespell ( #21069 )
2021-09-17 19:04:54 +02:00
Thomas J. Fan
786c4e5e39
DOC Adds feature_names_in_ to docstrings ( #20787 )
2021-08-26 13:44:45 +02:00
Juan Martin Loyola
e4f2f371a5
DOC Ensures that ExtraTreeRegressor passes numpydoc validation ( #20778 )
2021-08-20 16:00:50 +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
genvalen
1f613e797e
DOC Ensures that ExtraTreeClassifier passes numpydoc validation ( #20612 )
2021-07-27 09:09:57 +02:00
Lucy Jiménez
338ae8e5d8
fix docs DecisionTreeClassifier ( #20399 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-30 00:33:29 +02:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +02:00
Olivier Grisel
d402cd18ac
FIX sphinx warning on @deprecated n_features_ property ( #20418 )
2021-06-28 14:09:30 -04:00
Thomas J. Fan
351ace7935
STY Uses black's with target_version >= 3.7 ( #20294 )
2021-06-17 15:50:27 -04: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
240542fc78
MNT deprecate n_features_ in trees in favor of n_features_in_ ( #20272 )
2021-06-15 20:36:13 +02:00
Jérémie du Boisberranger
ef71c8597e
MNT Clean deprecations for 1.0 | trees ( #19336 )
2021-06-15 18:18:47 +02:00
Guillaume Lemaitre
1cd282d600
DOC add n_features_in_ in the documentation ( #20236 )
2021-06-09 16:58:03 +02: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
Samuel Brice
192952affa
FIX Deep copy criterion in trees to fix concurrency bug ( #19580 )
...
Co-authored-by: Samuel Brice <samuel.brice@twosigma.com>
2021-03-01 20:04:58 -05: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
4d7e61159d
ENH Adds n_feature_in_ checking to tree ( #18726 )
2020-11-02 18:40:20 +01:00
Christian Lorentzen
1ee4561257
DOC remove poisson criterion from ExtraTreeRegressor ( #18734 )
2020-11-02 18:30:08 +01:00
Christian Lorentzen
de59efe7cb
[MRG] ENH add Poisson splitting criterion for single trees ( #17386 )
2020-11-02 16:32:29 +01:00
Frans Larsson
2e083df41a
DOC Fix default values and add None to random_state in tree._classes.py ( #18291 )
...
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-08-31 13:58:23 +02:00
Thomas9292
a8067f7190
DOC Add tiebreaking explanation to DecisionTreeClassifier docs ( #17783 )
...
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: thomas.wesselink@ing.com <thomas.wesselink@ing.com>
2020-07-04 16:35:16 -04: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