Thomas J. Fan
77fbdd1c46
FIX Fixes plot_tree from going out of bounds ( #21917 )
2021-12-08 14:04:06 +01: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
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +02: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
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
b9d6db81ec
[MRG] ENH Consistent loss name for squared error ( #19310 )
2021-03-19 15:21:34 +01: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
Ivan Wiryadi
db968e2d14
DOC Fix documentation of default values in tree exports ( #17834 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-07-10 10:13:16 +02:00
Max Del Giudice
2253807bb4
DOC fixed default values in doc string for plot_tree ( #17496 )
2020-06-06 16:49:27 -04:00
Andreas Mueller
2f26540ee9
ENH use colors from style in tree plotting ( #17187 )
2020-05-21 10:30:39 +10:00
Thomas J Fan
388999b59d
API Deprecate positional arguments in tree module ( #16966 )
2020-04-22 09:20:57 -04:00
Rick Mackenbach
c6fe262bc6
ENH Improve error message for not fitted trees in plot_tree ( #16253 )
2020-01-29 10:33:42 +01:00
Chiara Marmo
9c62eee695
MNT Deprecate unused 'rotate' parameter in tree.plot_tree. ( #15806 )
...
* Deprecate unused 'rotate' parameter in tree.plot_tree.
* Clarify warning and docstring. Add test.
* Fix lint error and adress comment.
* Fix python lint error.
* Add what's new entry. Conform to skl convention.
* Update sklearn/tree/tests/test_export.py
Co-Authored-By: Olivier Grisel <olivier.grisel@ensta.org>
2019-12-07 18:36:40 +01:00
Adrin Jalali
437ca0553c
MNT Makes modules in tree and ensemble private ( #14964 )
2019-10-16 10:39:00 -04:00