Commit Graph

71 Commits

Author SHA1 Message Date
Thomas J. Fan 4408dfb86b
FIX Removes warning in HGBT when fitting on dataframes (#22908) 2022-03-25 10:56:49 +01:00
Christian Lorentzen 5ad3421a5b
FEA add quantile HGBT (#21800) 2022-02-22 17:03:14 +01:00
Ross Barnowski 24106c2149
DOC Fix incorrect heading underline length in docstrings (#22278) 2022-01-24 09:58:33 -05:00
Christian Lorentzen 4e974e0d5e
ENH Replace loss module HGBT (#20811) 2022-01-11 15:02:41 -05: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 3cde262274
DOC Ensures that HistGradientBoostingRegressor passes numpydoc validation (#20700)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-07 19:35:46 +02:00
Guillaume Lemaitre fee4982639 DOC fix hyperlink in HistGradientBoostingClassifier docstring 2021-08-07 17:39:39 +02:00
Juan Martin Loyola 05babc092a
DOC Ensures that HistGradientBoostingClassifier passes numpydoc validation (#20693)
Co-authored-by: glemaitre <g.lemaitre58@gmail.com>
2021-08-07 11:26:54 +02:00
Thomas J. Fan 99410b1bde
ENH Uses _openmp_effective_n_threads to set the number of threads in HistGradientBoosting* (#20477) 2021-07-09 10:13:39 +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 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04: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
Nicolas Hug 309f135c32
MNT Remove HistGradientBoosting from experimental (#19799) 2021-04-02 16:40:20 +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
Thomas J. Fan 95fa18f278
TST Fixes docstring ordering and test_docstring_parameters (#19048) 2021-02-12 11:35:05 +01:00
Thomas J. Fan b94332434d
API Removes tol=None option from HistGradientBoosting* (#19296)
* API Removes tol=None option from HistGradient*

* Pass tol=0.0 instead of tol=None in early stopping tests

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-01-29 15:07:25 +01:00
Thomas J. Fan b4453f126f
ENH Add Categorical support for HistGradientBoosting (#18394)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2020-11-16 23:10:12 +01:00
Ankit Choraria 3b98f19c6b
DOC fix docstring for monotonic constraing in hist-GBDT (#18579) 2020-10-09 08:13:00 -04:00
Albert Villanova del Moral 7e545e1724
DOC Fix versionadded for 0.23 (#18522) 2020-10-05 10:23:32 +11:00
Nicolas Hug df61e9ed98
FIX accept uint8 X in hist-gbdt.predict (#18410)
* fixed dtype issue

* whatsnew

* dont pass lists
2020-09-26 09:55:35 +02:00
Albert Villanova del Moral 875d32fe55
DOC Fix versionadded/versionchanged for 0.24 (#18312) 2020-09-01 10:51:01 +02:00
Nicolas Hug 754cac3ee9
MNT change bin_thresholds param name (#18179) 2020-08-21 16:07:55 +02:00
Juan Carlos Alfaro Jiménez 0cfe98b9f8
FIX Change MRO for some estimators (#17934) 2020-07-17 12:26:36 +02:00
Thomas J. Fan 1f7053f8c4
ENH Uses binned values from training to find missing values (#17736)
* ENH Uses training data to find missing values

* CLN Uses the binned data to find missing value

* ENH Uses binned values from training to find missing values
2020-07-16 15:04:26 +02:00
Hoda1394 dd9fbe5e8a
DOC updated documentation default value for gradient_boosting (#17909) 2020-07-12 00:10:55 -04:00
adrinjalali c9ca1d7d32
Revert "ENH Uses binned values from training to find missing values (#16883)"
This reverts commit e5cc2b0e20.
2020-06-25 15:42:37 +02:00
Thomas J. Fan e5cc2b0e20
ENH Uses binned values from training to find missing values (#16883)
* ENH Uses training data to find missing values

* CLN Uses the binned data to find missing value
2020-06-25 14:24:12 +02:00
simonamaggio a109dff722
DOC add missing attributes in HistGradientBoostingRegressor (#17677)
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-24 19:27:07 +02:00
Chiara Marmo 5ea5da4ae4
DOC add missing attributes in HistGradientBoostingClassifier (#17678)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-06-24 19:15:37 +02:00
Hao Chun Chang f58c2bc2df
FEA Add staged_predict to HistGradientBoosting (#16985) 2020-05-17 10:02:34 -04:00
Christian Lorentzen a93b15f19b
ENH Poisson loss for HistGradientBoostingRegressor (#16692) 2020-04-23 10:27:35 -04:00
Geoffrey Bolmier 9d366a4f74
ENH Add custom loss support for HistGradientBoosting (#16908) 2020-04-15 13:38:22 -04:00
Lucy Liu 9a4bd3702d
DOC replace Boston in gradient_boosting.py (#16891) 2020-04-10 13:10:34 -04:00
Thomas J Fan 37776a0506
CLN Removes unneeded code in histgradientboosting (#16820) 2020-04-01 13:42:03 -04:00
Adrin Jalali 97a6b08544
API make __init__ args in ensemble kwonly (#16724) 2020-04-01 06:35:37 +11:00
Nicolas Hug 36ebf3e371
[MRG] Monotonic constraints for GBDT (#15582) 2020-03-24 20:27:00 +01:00
Thomas J Fan cdbda0eddb
BUG Fixes HistGradientBoosting when warm_start is on + early_stopping is on + no validation (#16663) 2020-03-11 09:39:25 +01:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Adrin Jalali e24998f19c
ENH Support sample weights in HGBT (#14696) 2020-02-24 13:45:50 -05:00
Johann Faouzi ee6b369b82
FEA Turn on early stopping in histogram GBDT by default (#14516) 2020-02-12 10:45:21 -05:00
Oleksandr Pavlyk 32d333501d
DOC Docstring example of classifier should import classifier (#16430) 2020-02-11 12:00:17 -05:00
judithabk6 05476a1d38
TST Add test for documentation of the classes_ attribute (#16277)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2020-01-31 14:12:43 +01:00
Pierre Delanoue 9c2d889d1f
Update random_state gradient_boosting doc (#16315) 2020-01-30 17:06:05 +01:00
SanthoshBala18 cc2fbeddfa BUG max_depth=1 should be decision stump in HistGradientBoosti… (#16182) 2020-01-28 13:07:42 -05:00