Commit Graph

38 Commits

Author SHA1 Message Date
Thomas J. Fan 692225dd2c
ENH Add feature_names_out to voting estimators (#22697) 2022-03-08 20:49:59 +01:00
Thomas J. Fan 4aeb1adec3
DOC Fixes VotingClassifier.transform docstring (#22698) 2022-03-08 14:48:35 +01:00
genvalen fcbd4e0b75
MAINT Use check_scalar in _BaseVoting (#22204)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-31 10:28:32 +01:00
Thomas J. Fan 7b881fafec
DOC Add example of using drop for Voting* (#22224) 2022-01-19 10:28:28 +01:00
Juan Martin Loyola fbd48900fa
DOC Ensures that VotingClassifier passes numpydoc validation (#20948) 2021-09-06 11:27:37 +02:00
genvalen 642127806a
DOC use backticks for n_samples and n_features in X docstring (#20914) 2021-09-02 13:35:03 +02:00
Olivier Grisel d61662b625
ENH feature_names_in_ for sklearn.ensemble (#20818) 2021-08-25 23:40:54 +02:00
Harutaka Kawamura 8cf87a30bb
MNT Replace `@property` on predict methods with `@available_if` (#20667)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-13 18:00:21 -04:00
Anavelyz 1fd45fb3d7
DOC Ensures that VotingRegressor passes numpydoc validation (#20450) 2021-07-10 17:19:04 -04: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 351ace7935
STY Uses black's with target_version >= 3.7 (#20294) 2021-06-17 15:50:27 -04:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Guillaume Lemaitre 95afec8742
TST create instances from exotic estimators for docstring params check (#20243)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-11 18:38:22 +02:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Albert Villanova del Moral 7e545e1724
DOC Fix versionadded for 0.23 (#18522) 2020-10-05 10:23:32 +11: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
chaitanyamogal 2a8a7b0952
DOC fix docsting of fit_transform in Voting estimator (#18185) 2020-08-27 11:15:02 +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
Mateusz Górski 534f8aed72
DOC add versionadded versionchanged for 0.21 (#16737)
Co-authored-by: Mateusz Górski <mateuszg122@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-05-10 15:48:45 -04:00
Thomas J Fan ee2508ce45
ENH Adds HTML visualizations for estimators (#14180) 2020-04-30 08:31:58 +10:00
brigi dbc35934a6
DOC Version added and changed labels added for v0.18 (#wimlds) (#16222)
* Versionlabels added to v0.18 (#wimlds)

* documentation issues: label changed and added for version 0.18

* fix intends and shorten description

Co-authored-by: Hannah <32333241+hhnnhh@users.noreply.github.com>
Co-authored-by: Brigitte@home <unger@nue.tu-berlin.de>
2020-04-27 18:43:47 -04:00
Ekaterina Borovikova 4755ae76d2
DOC Add versionchanged and versionadded for v0.20 (#16199)
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
Co-Authored-By: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-26 09:29:36 -04:00
Lucy Liu cadafb79ba
DOC Fix grammar and clarify VotingRegressor (#16896) 2020-04-11 13:10:21 -04:00
Adrin Jalali 97a6b08544
API make __init__ args in ensemble kwonly (#16724) 2020-04-01 06:35:37 +11: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
CastaChick ca78d75e75
DOC Fixed documents that refer to Bunch object #16438 (#16447)
* Added links to utils.Bunch and fixed format of the docstring in datasets

* Added links to utils.Bunch in sklearn.compose

* Added links to utils.Bunch in sklearn.tree

* Added links to utils.Bunch in sklearn.ensemble

* Added links to utils.Bunch in sklearn.inspection

* Added links to utils.Bunch in sklearn.pipeline

* modified docstring of Bunch

* Added links to utils.Bunch to index.rst of sklearn.datasets

* Fixed some docstrings because the lines are too long

* Fixed some points as reviewed.

* Add links and delete 'for more information...'

* Fixed indent

* Fixed forgotten points.

* Fixed some points as reviewed.
2020-02-27 10:04:04 +01:00
lopusz f2146dd744
DOC Cleaning parameter spec in docstrings for ensemble m… (#16330) 2020-02-02 20:14:45 +01:00
Chiara Marmo 5a02de8957 ENH Add verbose option to VotingClassifier and VotingRegre… (#16069) 2020-01-09 14:15:59 -05:00
@nkish 07ceb6e255 DOC follow doc guideline in ensemble an feature_extraction modules (#15975) 2020-01-03 15:32:54 +01:00
Reshama Shaikh aa75e64c88 DOC Apply numpydoc validation to VotingRegressor methods (#15969)
Co-authored-by: Tiffany R. Williams <Tiffany8@users.noreply.github.com>
2019-12-26 12:10:17 +01:00
m.fab 98cb91b545 DOC numpydoc validation for VotingClassifier (#15497) 2019-11-17 19:29:38 +01:00
Thomas J Fan 7c47337f7b BUG Fixes voting named_estiamtor bug (#15375) 2019-10-28 17:31:25 +01: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
Adrin Jalali 437ca0553c MNT Makes modules in tree and ensemble private (#14964) 2019-10-16 10:39:00 -04:00