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
Joel Nothman
2fe58e517c
Deprecate min_samples_leaf and min_weight_fraction_leaf ( #11870 )
2018-08-23 08:30:47 +03:00
Gil Forsyth
08f04d9526
FIX Normalization of feature_importances_ in gradient boosting ( #11176 )
2018-06-22 08:24:08 +10:00
Roman Yurchak
c50d9e87d0
[MRG+1] Pytest parametrize unit tests common tests and ensemble module ( #11075 )
2018-05-24 10:47:40 +02:00
Gaurav Dhingra
c9e6d4d3a4
ENH Make GradientBoostingClassifier error message more informative ( #10207 )
2017-12-18 23:58:58 +11:00
Guillaume Lemaitre
8616a0863c
[MRG+1] FIX convert to CSR in decision_function ( #10102 )
2017-12-01 07:38:02 +11:00
fenx
4bba21659c
[MRG+1] Error raised when presort in gradient_boosting.py and tree.py is not a boolean ( #10110 )
2017-11-28 13:27:13 +01:00
Rameshwar Bhaskaran
64a1812aad
[MRG+1] Added tests for parameter checks in GradientBoostingRegressor ( #10013 )
2017-11-01 22:07:58 +01:00
Bastian Venthur
7400775633
[MRG+1] MAINT Replace assert_array_equal with -assert_array_almost_equal where necessary. ( #9774 )
2017-09-18 19:55:23 +10:00
(Venkat) Raghav, Rajagopalan
312b1dfc74
ENH Early stopping for Gradient Boosting Classifier/Regressor ( #7071 )
2017-08-09 22:02:47 +02:00
(Venkat) Raghav (Rajagopalan)
fc2f24927f
[MRG+1] ENH/FIX Introduce min_impurity_decrease param for early stopping based on impurity; Deprecate min_impurity_split ( #8449 )
...
[MRG+2] ENH/FIX Introduce min_impurity_decrease param for early stopping based on impurity; Deprecate min_impurity_split
2017-04-03 09:38:53 -07:00
Sebastian Pölsterl
3162f980a9
[MRG] Set min_impurity_split in gradient boosting models ( #8007 )
...
Fixes #8006
2016-12-14 10:40:49 +11:00
Andreas Mueller
5c4b1bb231
[MRG+1] Housekeeping Deprecations for v0.19 ( #7927 )
...
* remove stuff to be removed 0.19
* more changes
* remove classes from 0.19 whatsnew
* remove _LearntSelectorMixin
* remove ProjectedGradientNMF, load_lwf_*
* minor fixes
* remove more copy from logistic regression path
* remove lda, qda from __init__.__all__
* remove pg solver in nmf from tests etc
* remove class_weight="auto" from tests
* doctest change for decision_function_shape="ovr"
* remove transfrom from tree test, minor fixes to tree tests
* some fixes in the tests
* undo changes in functions which still allow 1d input...
* also allow 1d in scale
* more test fixes...
* last test fixes in forest and tree
* svm default value change doctest failures
* pep8
* remove more class_weight="auto" stuff
* minor cosmetics in docstrings deprecated / removed behavior.
* say that store_covariance has been moved to __init__ in discriminant_analysis
2016-12-09 12:43:38 -05:00
Ibraim Ganiev
78dbcb2838
[MRG] fix #6101 GradientBoosting decision_function for sparse inputs ( #6116 )
2016-10-15 21:41:44 +11:00
Artem Golubin
36e67a91af
Fix test suites ( #6348 )
2016-10-07 19:47:43 -04:00
seales
0485ada58b
General spelling fixes
2015-12-16 09:46:42 -08:00
Andreas Mueller
776e53b127
skip unstable tests on 32bit platform
2015-11-02 15:21:22 -05:00
yelite
fea218e5cf
In tree, min_samples_split and min_samples_leaf now accept float number as percentage.
2015-10-24 23:18:52 +02:00
Raghav R V
e3afc0e8c9
MAINT move custom error/warning classes into sklearn.exceptions
...
ENH NonBLASDotWarning -> EfficiencyWarning; Improve error message
DOC Add exceptions module to modules/classes.rst
MAINT Move ConvergenceWarning, UndefinedMetricWarning et al into exceptions
MAINT Remove ChangedBehaviorWarning from base
DOC/FIX Improve DataConversionWarning's docstring
2015-10-19 22:35:35 +02:00
MechCoder
5a0db1717a
1. Added parameter prefit to pass in a fitted estimator.
...
2. Use assert_warns instead of catch_warnings
3. Remove depracation warnings in common tests.
2015-10-09 01:57:36 -04:00