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
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
Hideaki Imamura
a0c0ca22e3
TST Accelerating ensemble/tests/test_gradient_boosting.py::test_regression_dataset ( #21984 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-01 11:25:15 +01:00
Guillaume Lemaitre
31aa26b73e
MNT remove mae criterion is GBDT ( #21588 )
2022-01-28 15:00:44 -05: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
glennfrutiz
b05a56878b
EXA speed up ensemble/tests/test_gradient_boosting ( #21903 )
2021-12-07 15:32:44 +01:00
Olivier Grisel
bd8528db3d
MAINT Shorten parametrized test names with long error messages ( #21364 )
...
* Apply suggestions from code review
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-19 15:38:18 -07: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
383b53fa91
FIX Uses code literals in deprecated to prevent linking ( #20410 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-28 15:49:19 +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
Jérémie du Boisberranger
ef71c8597e
MNT Clean deprecations for 1.0 | trees ( #19336 )
2021-06-15 18:18:47 +02:00
Christian Lorentzen
2bd3a4db52
ENH Consistent loss name for absolute error ( #19733 )
2021-05-10 22:10:21 +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
Hassan Alsawadi
c61dcff511
TST replace assert_raise_* by pytest.raises in ensemble module ( #19399 )
...
Co-authored-by: feras-oughali <oughali.feras@gmail.com>
Co-authored-by: hassanalsawadi <alsawadi.h@mozn.sa>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-02-11 14:16:55 +01:00
Atsushi Nukariya
7f5ee92bed
TST replace assert_warns* by pytest.warns in ensemble/tests ( #19425 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-02-11 11:45:15 +01:00
Thomas J. Fan
0e546ebe5b
TST Download datasets before running pytest-xdist ( #19118 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-01-13 17:02:53 +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
Madhura Jayaratne
4de0f97aa3
DEP deprecate "mae" criterion in GadientBoosting estimators ( #18326 )
2020-09-04 11:17:39 +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
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
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
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
Nicolas Hug
e91902298f
MNT remove deprecated presort param ( #17446 )
2020-06-04 20:43:15 +02:00
Nicolas Hug
ac8cbb3799
[MRG] More deprecation for 0.24 ( #17142 )
...
* normalize_components in sparsePCA
* changed default strategy of Dummy to prior and removed outputs_2d ttribute
* removed usage of None to drop estimator in ensemble and behaviour param of IsolationForest
* remove support for drop=None in Voting
* removed some warning decorators
* remove feature_extraction.extract_patches
* removed VectorizerMixin and copy parameter from TFIDFVectorizer
* kernel.set_params now raises attributeerror
* removed fig from plot_partial_dependence
* removed iid parameter of search estimators
* removed brier_scorer
* raise error in split when shuffle is False and random_state is not None
* removed MultiOutputEstimator
* removed base classes of NaiveBayes
* removed drop from pipeline
* removed utils in random_projection
* removed presort and classes_ in trees
* flake8
* fixed some tests
* flake
* fixed docstring
* fixed other one
* some left
* mmmm
2020-05-20 16:04:14 -04:00
Roman Yurchak
1cbe59ee06
CI Check for unused imports when linting ( #16678 )
...
* Check for missing imports in linting
* Exclude externals
* Remove unused imports
2020-03-12 12:56:35 +01:00
Sergul Aydore
78dc5974d5
TST check sample_weight shape added to common tests ( #11598 )
2020-02-21 10:04:09 -05:00
Nicolas Hug
42e17b3487
MNT Removed deprecated attributes and parameters -- ctnd ( #15804 )
2019-12-13 15:05:51 -05:00
Brian Wignall
c4733f4895
MNT Fix some easy-to-make typos ( #15720 )
2019-11-26 06:31:40 -06:00
Thomas J Fan
ee5b34d2f1
[MRG] API Changes default strategy to prior in DummyClasssifer ( #15382 )
2019-11-06 07:11:06 +11:00
Nicolas Hug
19ad136223
MNT Replace DeprecationWarning with FutureWarning ( #15080 )
...
* bruteforce renaming
* WIP
* WIP
* some more
* removed weird line
* update -Werror
* testiforest
* again
* Fixed some tests
* fixed some tests
* removed -Werror
* fixed test_docstring_param issue
* fixed some tests
* some more
* renamed to SklearnDeprecationWarning
* pep8
* updated docs
* pep8
* merge
* changed to FutureWarning
* fixes
* Update doc/developers/tips.rst
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
* avoid duplicates
* fixed warning for deprecations
* Still make CI break if DeprecationWarning isn't caught
* updated one warning
* fixed test
* fixed some renamings
* updated new dep warnings
* fixed bad import
* ignore warnings
* update again
* ignore futurewarning when walking packages
* Fixed test
* pep8
* Added whatsnew
2019-10-29 15:39:26 +01:00
Nicolas Hug
b92455a6b2
MAINT Deprecate all of utils.testing except all_estimators ( #15367 )
2019-10-28 17:28:56 +01:00
Guillaume Lemaitre
1888a96908
FIX ignore null weight when computing estimator error in AdaBoostRegressor ( #14294 )
...
* FIX normalize with max of samples with non-null weights in AdaBoostRegressor
* iter
* update PR number
* PEP8
* iter
* iter
* ignore line coverage
* FIX use _check_sample_weight to validate sample_weight
* address jeremie comments
* fix inplace/mask copy operation
* add default value for wrapper
* PEP8
* Apply suggestions from code review
Co-Authored-By: jeremiedbb <34657725+jeremiedbb@users.noreply.github.com>
* apply jeremie comments
* increase coverage
* PEP8
* address adrin comments
* change import for mocking
* fix
* PEP8
* address comment adrin
2019-10-25 09:41:05 +02:00
Adrin Jalali
99d3d34d61
MNT deprecating presort in DecisionTree* and GradeintBoosting* ( #14907 )
...
* deprecating presort
* pep8
* address comments, add whats_new
* recomment HistGradientBoosting
* address comments
2019-09-10 20:39:52 +02:00
Adrin Jalali
19c068a2ec
MNT towards removing assert_equal, etc ( #14222 )
2019-07-01 09:13:32 -04:00
Johann Faouzi
e669a89aa4
CLN Removed some unused imports ( #14074 )
2019-06-12 14:19:45 -04:00
Anaël Beaugnon
abf7721904
TST fix a part of Gradient Boosting test which wasn't running ( #14032 )
...
issubclass instead of isinstance(EstimatorClass, GradientBoostingClassifier).
This way the test is executed.
Update the test to avoid failing.
2019-06-07 16:55:52 +04:00
Adrin Jalali
fd93ea03b1
FIX ignore single node trees in gbm's feature importances ( #13620 )
2019-04-16 11:08:40 +10:00
Nicolas Hug
d6b368e818
FIX GBDT init parameter when it's a pipeline ( #13472 )
2019-03-28 10:01:30 +11:00
Nicolas Hug
4eb85b471a
FIX Used stratified splits for early stopping in GBDT and MLP ( #13164 )
2019-03-26 12:57:35 +11:00
Nicolas Hug
ea63c56638
FIX several bugs in initial predictions for GBDT ( #12983 )
2019-03-01 07:00:41 +01:00
Rohan Lekhwani
e0697b01a7
MNT Used scipy.special.expit for the inverse of the logit function ( #12931 )
2019-01-08 18:35:19 +11:00
Andreas Mueller
952ef6637a
MRG Drop legacy python / remove six dependencies ( #12639 )
2019-01-03 15:50:05 +02:00
Adrin Jalali
02dc9ed680
Fix max_depth overshoot in BFS expansion of trees ( #12344 )
...
* fix the issue with max_depth and BestFirstTreeBuilder
* fix the test
* fix max_depth overshoot in BFS expansion
* fix forest tests
* remove the warning, add whats_new entry
* remove extra line
* add affected classes to changed classes
* add other affected estimators to the whats_new changed models
* shorten whats_new changed models entry
2018-11-13 13:10:33 -05:00
Hanmin Qin
43e3a02085
MNT Remove unused assert_true imports ( #12560 )
2018-11-11 11:08:37 +08:00
Yaroslav Halchenko
362cb3bcab
TST autoreplace assert_true(...==...) with plain assert ( #12547 )
2018-11-11 09:05:34 +08:00
Guillaume Lemaitre
43c8563258
TST: skip test requiring internet using --skip-network ( #12067 )
2018-09-16 11:15:26 +10:00
Joel Nothman
79f5d147ea
MNT Revert the deprecation of min_samples_leaf and min_weight_fraction_leaf ( #11998 )
2018-09-08 16:43:21 +02:00