Adam Li
67eb4e5c24
[MAINT] Separate unit tests in `test_tree.py` for pickling and min_impurity_decrease ( #22915 )
2022-03-25 10:41:45 +01:00
Christian Lorentzen
f89a40bd92
MNT fix typo in tree test name ( #22943 )
2022-03-24 23:24:18 +01: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
Thomas J. Fan
4cf932d98e
ENH Use simultaenous sort in tree splitter ( #22868 )
2022-03-21 16:53:45 +01:00
Thomas J. Fan
5572a342bb
MNT Replace PriorityHeap with cpp heap methods in trees ( #22630 )
2022-03-03 10:32:44 +01:00
Thomas J. Fan
5291239923
MNT Small refactor of cost complexity pruning using _TREE_UNDEFINED ( #22351 )
2022-02-28 17:42:57 +01:00
Thomas J. Fan
70eebb992e
MNT Use C++ stack instead of implementing our own in trees ( #22328 )
2022-02-25 17:54:54 +01:00
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
Thomas J. Fan
4ff0767087
ENH Better error message for check_scalar ( #22218 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-11 16:15:30 +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
Christian Lorentzen
2b15b908c1
FIX poisson proxy_impurity_improvement ( #22191 )
2022-01-26 14:52:27 +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
Thomas J. Fan
77fbdd1c46
FIX Fixes plot_tree from going out of bounds ( #21917 )
2021-12-08 14:04:06 +01:00
Loïc Estève
8dcde1e4d4
Support cross 32bit/64bit pickles for decision tree ( #21552 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-25 17:08:51 +01:00
Guillaume Lemaitre
cc81c4f2ba
MNT remove X_idx_sorted parameter in decision trees ( #21593 )
2021-11-08 08:08:43 +01:00
Loïc Estève
46485a93be
Test decision tree pickle for different endianness ( #21539 )
2021-11-04 14:39:09 +01:00
Jérémie du Boisberranger
1f8825c8dd
MNT Centralize common cython compiler directives ( #21512 )
2021-11-03 13:26:23 +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
10a5468e90
DOC Remove some str/unicode leftovers from Python 2 ( #21270 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-08 13:55:15 +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
Thomas J. Fan
44c40b35d0
STY Removes trailing comma in lists for nicer black formatting ( #20627 )
2021-07-28 16:08:42 -07: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
Loïc Estève
365234563e
Set up matplotlib agg backend at the beginning of the tests ( #20230 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-17 17:45:53 +02: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
Thomas J. Fan
3a23e26da6
FIX Uses points instead of pixels in plot_tree ( #20023 )
2021-06-03 14:28:27 +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
Jérémie du Boisberranger
32b60fb976
MNT Clean deprecations for 1.0 | plot_tree ( #19324 )
2021-05-11 16:40:50 -04:00
Christian Lorentzen
2bd3a4db52
ENH Consistent loss name for absolute error ( #19733 )
2021-05-10 22:10:21 +02:00
Haoyin Xu
4023a0f94b
CLN Fix _add_node parameter name ( #20008 )
2021-04-29 16:38:53 -07:00
Fatos Morina
9694d5a4b5
Remove the unused import of csc_matrix ( #19989 )
2021-04-27 12:37:56 +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
Zero
34de1b9b21
ENH add fontname argument in export_graphviz for non-English characters ( #18959 )
2021-01-10 19:42:09 +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
Olivier Grisel
f0e9d298be
FIX numerical rounding issue causing test_poisson_zero_nodes to fail at random ( #18737 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-11-04 20:39:06 +01: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