Commit Graph

1478 Commits

Author SHA1 Message Date
Guillaume Lemaitre 2199de6492
TST enable to run common test on stacking and voting estimators (#18045)
* TST enable to run common test on stacking and voting estimators

* revert config changes

* revert unecessary change in _testing

* TST remove check_estimator from local files

* PEP8
2020-10-08 12:05:06 +02: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 547ed6b182
DOC Improve links in cross_validation's user guide (#18379) 2020-09-24 11:19:09 -04:00
Thomas J. Fan 06d6f8a9f6
FIX Passes global configuration when spawning joblib jobs (#17634)
* WIP

* BUG Passes context to joblib jobs

* BUG Fix

* BUG Fix

* CLN Moves delayed into fixes

* CLN Adds linter

* REV Revert diff

* DOC Adds comment for removal

* Use a simple implementation
2020-09-21 16:59:42 +02:00
Guillaume Lemaitre 21569e719c
TST Common test preserve dtype (#18054)
Co-authored-by: Sebastian Kießling <sebkies@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-09-08 10:13:53 +02:00
Albert Villanova del Moral 647fcb1ac1
DOC Fix A to uppercase in See Also docstring section (#18332) 2020-09-04 10:35:01 -04: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
Madhura Jayaratne 4de0f97aa3
DEP deprecate "mae" criterion in GadientBoosting estimators (#18326) 2020-09-04 11:17: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
Guillaume Lemaitre 9007dc237c
DOC improve documentation of get/set params (#18285)
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-08-31 12:05:53 -04:00
Christian Lorentzen 4744e062ff
TST fix binomial deviance (#18250) 2020-08-31 13:29:11 +02:00
chaitanyamogal 2a8a7b0952
DOC fix docsting of fit_transform in Voting estimator (#18185) 2020-08-27 11:15:02 +02:00
Venkatachalam N 8ba49f6280
EHN make some meta-estimators lenient towards missing values (#17987)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-26 11:10:24 +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
Ram Rachum 61ec6b9b79
MNT Use raise from in 19 modules (#17835) 2020-08-25 08:57:29 +02:00
Frans Larsson a675319e93
DOC fix docstring in ensemble module (#18228) 2020-08-21 23:44:21 +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
simonamaggio 989613e5c3
DEP Deprecate n_classes_ in GradientBoostingRegressor (#17702)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-13 19:25:55 +02:00
Nicolas Hug 1dedc7e6a8
[MRG] Prototype 4 for strict check_estimator mode (#17361) 2020-08-06 12:02:15 +02:00
xun-tang 7b697942f6
DOC Address numpydoc validation to GradientBoosting* (#15477)
Co-Authored-By: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Matteo Visconti dOC <mvdoc@berkeley.edu>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-08-05 18:08:27 -04: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
Thomas J. Fan d1f0d1917d
BUG Fixes stacker compatibility with estimators without n_features_in_ (#17357) 2020-07-09 11:31:04 +02:00
Guillaume Lemaitre 94a5d93ecc
TST parametrize and clean-up tests GBDT (#17860) 2020-07-08 16:22:04 +02:00
Guillaume Lemaitre 6c0e04a7e3
TST remove useless network marker in GBDT tree (#17858) 2020-07-08 11:29:11 +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
Christos Aridas 0d3713ec00
TST Refactor the test of oob score of forest predictors (#17770) 2020-06-29 11:08:48 -07:00
t-kusanagi2 068c4e6e00
FIX fix multinomial deviance by taking the weighted average instead of the sum (#17694)
Co-authored-by: Markus Rempfler <markus.rempfler@tum.de>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-06-26 18:57:36 +02:00
Juan Carlos Alfaro Jiménez 547ead6c0c
MNT More replacements of numpy aliases with built-in types (#17707)
* MNT More replacements of numpy aliases with built-in types [scipy-dev]

* MNT More (manual) replacements of numpy aliases

* MNT More (manual) replacements of numpy aliases

* FIX Minor change

* MNT Trigger build [scipy-dev]

* FIX Minor change

* MNT Trigger build [scipy-dev]

* FIX More deprecations of numpy aliases [scipy-dev]

* MNT Silent numpy aliases warnings [scipy-dev]

* FIX Fix silent deprecations

* Trigger build [scipy-dev]

* FIX Add scape characters [scipy-dev]

* FIX Remove package specification from silent

* Trigger build [scipy-dev]

* Revert
2020-06-26 12:45:03 +02: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
simonamaggio 683b3e51ee
DOC add missing attributes in GradientBoostingRegressor (#17671) 2020-06-24 08:56:47 +02:00
beatrizsmg be9492ca1e
DOC add missing attributes in IsolationForest (#17667)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Kendrick Cetina <kendrick.cetina@uk.fujitsu.com>
2020-06-23 15:43:09 +02:00
Lucy Liu 5a33360ebb
TST replace Boston in test_gradient_boosting.py (#16937)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-23 11:12:01 +02:00
Jigna Panchal 8186557b0e
DOC add missing attributes in RandomTreesEmbedding (#15520)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-18 09:44:30 +02:00
Juan Carlos Alfaro Jiménez e4ebcbcafd
MNT Deprecate X_idx_sorted in tree module (#17614) 2020-06-17 13:58:47 -04:00
Charles Patel 1abf84affe
DOC Updates RandomForestClassifier docstring for max_features (#17552)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-15 18:14:42 +02:00
Charles Patel c3835442e5
remove int() (#17539) 2020-06-09 11:10:31 +02:00
Poorna Kumar 324d3b59ec
DOC Enable links to objects in docstrings (Sprint Issue #17417) (#17488)
* add StackingClassifier docstring links to objects

* add StackingRegressor docstring links to objects

* add AdaboostRegressor docstring links to objects

* add AdaboostClassifier docstring links to objects; also add docstring links to file-level docstring

* fix flake8 violations

* reviewer comments
2020-06-06 16:51:07 -04:00