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
Madhura Jayaratne
4de0f97aa3
DEP deprecate "mae" criterion in GadientBoosting estimators ( #18326 )
2020-09-04 11:17:39 +02:00
Christian Lorentzen
4744e062ff
TST fix binomial deviance ( #18250 )
2020-08-31 13:29:11 +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
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
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
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
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
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
Nicolas Hug
e91902298f
MNT remove deprecated presort param ( #17446 )
2020-06-04 20:43:15 +02:00
Lucy Liu
f93f560bb9
ENH add support for sample weights in MAE ( #17225 )
2020-05-27 15:03:43 +02:00
jim0421
d5de894284
ENH scipy blas for svm kernel function ( #16530 )
2020-05-23 21:12:34 -04: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
Lucy Liu
5dcdd89726
MNT/TST Replace boston by synthetic dataset in ensemble test_forest ( #16927 )
2020-05-20 12:16:33 +02:00
Lucy Liu
9bc5c1d4de
TST replace boston by diabetes dataset in weigh_boosting ( #17154 )
2020-05-19 09:18:54 +02:00
Lucy Liu
fc6ee00b0a
MNT Fix 'clf' variable naming in test_forest ( #16929 )
2020-04-25 22:22:33 -04:00
Lucy Liu
be134a298f
TST Replace Bostond dataset in test_iforest ( #17031 )
2020-04-25 11:47:46 -04:00
Lucy Liu
f82a2cb338
replace boston ( #16922 )
2020-04-21 19:48:00 +02:00
Lucy Liu
cb9ddbb91f
TST Replace boston in ensemble test_bagging ( #16921 )
2020-04-15 13:30:28 -04:00
Roman Yurchak
5a4340834d
Fix mypy errors ( #16726 )
2020-03-30 15:41:05 +02: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
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
wderose
f1acf83468
FIX Pass sample_weight when predicting on stacked folds ( #16539 )
2020-03-06 16:51:32 -05:00
wderose
68a639e3fd
MNT rename _parallel_fit_estimator to _fit_single_estimator to reflect lack of parallelism in the method ( #16599 )
2020-02-29 14:20:40 -05:00
Nicolas Hug
d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd ( #16112 )
2020-02-29 09:05:11 -05:00
Sergul Aydore
78dc5974d5
TST check sample_weight shape added to common tests ( #11598 )
2020-02-21 10:04:09 -05:00
Jin-Hwan CHO
baa4f07808
FIX _get_estimators_indices() in BaseBagging ( #16437 )
2020-02-20 13:23:17 +01:00
Rushabh Vasani
3f0b6c0e5c
ENH Improve error message for sparse multilabel-indicator y in RandomForestClassifier ( #15971 )
2020-02-10 19:59:43 +11:00
Chiara Marmo
5a02de8957
ENH Add verbose option to VotingClassifier and VotingRegre… ( #16069 )
2020-01-09 14:15:59 -05:00
Brian Wignall
0e10b3a3cb
DOC Fix typos, via a Levenshtein-style corrector ( #15923 )
2019-12-19 16:26:02 -08:00
Nicolas Hug
42e17b3487
MNT Removed deprecated attributes and parameters -- ctnd ( #15804 )
2019-12-13 15:05:51 -05:00
Nicolas Hug
4cdbde3085
MNT remove deprecated ensemble.partial_dependence ( #15789 )
2019-12-04 12:22:56 -05:00
Brian Wignall
c4733f4895
MNT Fix some easy-to-make typos ( #15720 )
2019-11-26 06:31:40 -06:00
Andreas Mueller
e254b30b6e
MAINT run latest CI on Python 3.8 ( #15637 )
2019-11-19 09:56:37 +01:00
Guillaume Lemaitre
157813214c
TST factorize some common test of ensemble of heterogeneous es… ( #15387 )
2019-11-06 14:20:53 -05:00
Thomas J Fan
ee5b34d2f1
[MRG] API Changes default strategy to prior in DummyClasssifer ( #15382 )
2019-11-06 07:11:06 +11:00
Robert Juergens
16ee5acec1
TST Fixed assert statements, now using assert_array_equal function ( #15428 )
2019-11-01 07:46:35 -05:00
Jon Cusick
132ad99368
ENH Pass original dataset to Stacking final estimator ( #15138 )
2019-10-30 15:45:48 +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
Thomas J Fan
7c47337f7b
BUG Fixes voting named_estiamtor bug ( #15375 )
2019-10-28 17:31:25 +01:00
Nicolas Hug
b92455a6b2
MAINT Deprecate all of utils.testing except all_estimators ( #15367 )
2019-10-28 17:28:56 +01:00
Nicolas Hug
0f157e9475
ENH Minor update to error message from check_is_fitted ( #15357 )
2019-10-27 13:06:34 +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
Guillaume Lemaitre
939fa3ccce
DEPR deprecate None to drop estimator in ensemble ( #15114 )
...
* MAINT add base class for voting and stacking
* iter
* iter
* PEP8
* support None and drop
* DEPR deprecate None to drop estimator in ensemble
* Add whats new
* remove parameters from base class
* TST add tests to check that we raise warning
* udpate whats new
* iter
* iter
* address nicolas comments
* iter
* review roman comments
* Update sklearn/ensemble/_base.py
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
* address thomas comment
* Apply suggestions from code review
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
* address comment nicolas
* fix regressor
2019-10-24 10:56:28 +02:00