Commit Graph

86 Commits

Author SHA1 Message Date
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
Nicolas Hug 4a2de5b864
[MRG] MNT Initialize histograms in parallel and don't call np.zero in Hist-GBDT (#18341) 2020-09-04 15:48:39 +02:00
Olivier Grisel e325f16d6a
ENH Break cyclic references in Histogram GBRT (#18334)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-09-03 15:47:25 -04:00
Albert Villanova del Moral 875d32fe55
DOC Fix versionadded/versionchanged for 0.24 (#18312) 2020-09-01 10:51:01 +02:00
Frans Larsson e126a85ffb
DOC Fix docstring in grower.py following doc guideline (#18206)
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-26 11:06:37 +02:00
Nicolas Hug 754cac3ee9
MNT change bin_thresholds param name (#18179) 2020-08-21 16:07:55 +02:00
sadak e81b1c0a1b
DOC fix docstring in binning.py file (#18063)
Co-authored-by: Frans Larsson <frans.larsson@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-21 14:05:41 +02:00
Frans Larsson 359c6bca25
DOC Fix docstring binning.py module (#18207)
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-08-21 11:27:24 +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
Thomas J. Fan 31f606ae84
CLN Minor adjustment for potential overflow in hist gradient boosting (#17410) 2020-07-09 11:36:04 +02:00
Juan Carlos Alfaro Jiménez 9cd13a1fa1
FIX Change MRO for some estimators (#17837) 2020-07-05 13:52:42 +02:00
Christos Aridas 2b503bdc08
CLN Remove self-assignments from tests (#17776) 2020-06-29 15:22:21 -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
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
Hirofumi Suzuki c29092d699
MNT define a parse_version function in sklearn.utils.fixes (#17670)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-24 13:35:49 +02:00
Thomas J Fan 43c0efa1b9
BUG Fixes cython code for ppc arch (#17201)
* BUG Fixes cython in splitting

* REV Revert

* Revert "REV Revert"

This reverts commit d1cf3b10f3.

* WIP Uses signed char

* WIP Maybe use signed chars

* WIP const signed chars
2020-05-18 12:35:37 -04:00
Hao Chun Chang f58c2bc2df
FEA Add staged_predict to HistGradientBoosting (#16985) 2020-05-17 10:02:34 -04:00
Christian Lorentzen a6a20f29d7
MNT fix test for binary crossentropy in hist-GBDT (#16691) 2020-05-11 14:25:16 -04:00
Thomas J Fan ad6a9f977e
TST Skips derivative check on 32bit platforms (#17073)
* TST Checks type for derivative check

* TST Skips test for 32bit linux

* REV Less diffs
2020-04-29 10:05:37 +02:00
Gregory R. Lee 3deacb98c7
MNT consistently call import_array() after cimport of numpy (#17054) 2020-04-28 12:19:52 +02:00
Lucy Liu 7844d1c2d7
TST Replace boston in histgradboost test_predictor (#16918) 2020-04-23 13:19:52 -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 270c673483
TST Fixes comment in test to reflect actual missing value (#16872) 2020-04-07 14:42:28 -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 e5a1ba0fde
MNT minor optimization for subsampling in GBDT (#16766) 2020-03-25 21:00:14 +01:00
Nicolas Hug 36ebf3e371
[MRG] Monotonic constraints for GBDT (#15582) 2020-03-24 20:27:00 +01:00
Roman Yurchak 75d3f29e72
MAINT Remove outdated numpy and scipy backports (#16725)
* Remove unecessary numpy & scipy backports

* More fixes

* Remove unused imports
2020-03-20 13:57:18 +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
Roman Feldbauer 9b39c4c4d2
TST Fix unreachable code in tests (#16110) 2020-02-16 14:41:26 +01: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
Nicolas Hug 98b3c7c871
FIX max_leaf_node and max_depth interaction in GBDT (#16183)
* fix max_leaf_node max_depth interaction

* Added test

* comment

* what's new

* simpler solution

* moved and simplified test

* typo
2020-02-07 15:07:37 +01: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
Maria c23ed6060d DOC improve random state docstring in HistGBDT (#16205) 2020-01-26 11:56:00 +01:00
Brian Wignall 0e10b3a3cb DOC Fix typos, via a Levenshtein-style corrector (#15923) 2019-12-19 16:26:02 -08:00
Brian Wignall c4733f4895 MNT Fix some easy-to-make typos (#15720) 2019-11-26 06:31:40 -06:00