Commit Graph

90 Commits

Author SHA1 Message Date
Guillaume Lemaitre 02087e1308
MNT remove deprecated attributes in PLS (#21585) 2022-02-08 14:44:05 -05:00
murata-yu 30360ee997
ENH Adds n_features_to_select upper limit to SeqFeatureSelector (#20145)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: bmreiniger <40676050+bmreiniger@users.noreply.github.com>
2021-12-24 09:13:16 -05:00
Julien Jerphanion c48dba0718
EHN Support unit-variance whitening for `FastICA` (#19490)
Co-authored-by: Facundo Ferrín <facundo.ferrin@e-campus.uab.cat>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-11-08 15:43:49 +01:00
Jérémie du Boisberranger c4983148f3
MNT Finalize the change of the default `init` of NMF (#21500)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-30 16:20:47 +02:00
Dimitri Papadopoulos Orfanos 6c068e2c75
MNT Remove obsolete code (Python >= 3.7) (#21092) 2021-09-20 23:04:37 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Maria Telenczuk 8a63ec40e4
MRG: Deprecate normalize in least_angle models (#17769)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-18 13:54:46 +02:00
Maria Telenczuk dc2b5875d0
DEP deprecates 'normalize' in _omp.py (#17750)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-17 23:24:40 +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
Loïc Estève 365234563e
Set up matplotlib agg backend at the beginning of the tests (#20230)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-17 17:45:53 +02:00
Guillaume Lemaitre 05319e727b
TST common tests for n_features_in_ for model_selection module (#20204)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-15 19:20:20 +02:00
LSturtew 3f69c7da4d
ENH Adds n_features_in_ checking to multioutput (#19692)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2021-06-15 18:40:57 +02:00
Thomas J. Fan 9a13bdfaf1
MNT Adds black config and fixes formatting before black (#19031)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02: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
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +02:00
Nanshan Li 45fc4b76f3
DOC Document n_features_in_ in cluster (#20228) 2021-06-09 11:04:58 +02:00
Jérémie du Boisberranger b15e312b29
TST test_fit_docstring_attributes include properties (#20190) 2021-06-07 17:48:17 -04:00
Guillaume Lemaitre 800aee6d48
TST check n_features_in_ in pipeline module (#20192)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-06-07 12:29:45 +02:00
Jérémie du Boisberranger 6bfaceded8
MNT n_features_in through the multiclass module (#20193) 2021-06-03 14:41:23 +02:00
Jérémie du Boisberranger 5d25ce13ae
TST enable test docstring params for feature extraction module (#20188) 2021-06-02 17:41:41 +02:00
Ashvith Shetty ca6caa28ab
TST Removed the estimators from the IGNORED list in test_fit_docstring_attributes (#20103) 2021-05-18 15:09:11 -04:00
Jérémie du Boisberranger 0012d845f5
MNT Clean deprecations for 1.0 | AffinityPropagation (#19318) 2021-05-11 16:42:23 -04:00
Dmitry Kobak 8156c10828
ENH Improve initialization and learning rate in t-SNE (#19491)
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-04-26 15:29:59 -04:00
Olivier Grisel 54ff7b7c4f
Test and doc for n_features_in_ for sklearn.calibration (#19555)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-03-30 18:19:56 +02:00
Thomas J. Fan cf296c74ba
ENH Checks n_features_in_ after fitting in mixture (#19540) 2021-03-23 14:08:11 +01:00
Thomas J. Fan 95fa18f278
TST Fixes docstring ordering and test_docstring_parameters (#19048) 2021-02-12 11:35:05 +01:00
Thomas J. Fan 2be474be7f
DOC Documents n_features_in_ in cross_decomposition (#19351) 2021-02-08 10:13:33 +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
Maren Westermann 0e6d415c51
MNT deprecate attributes in Partial Least Squares module (#18768)
* deprecate attributes

* add test

* add remove test note

* remove classes from ignored sets

* replace abbreviations with full words for improved readability

* make entry in whats_new
2020-11-11 12:37:18 +01:00
fhaselbeck bb9a8f0a75
FIX add attributes X_offset_ and X_scale_ in ARDRegression needed in predict (#18607)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-10-28 08:04:44 +01:00
Chiara Marmo fe654ba932
ENH Warn future change of default init in NMF (#18525) 2020-10-15 10:18:09 -07:00
Guillaume Lemaitre ed4e539237
TST enable common tests for SearchCV (#18158) 2020-10-12 16:17:17 +02:00
Nicolas Hug 0a5af0d2a1
FEA Successive halving for faster parameter search (#13900)
* More flexible grid search interface

* added info dict parameter

* Put back removed test

* renamed info into more_results

* Passed grroups as well since we need n_to use get_n_splits(X, y, groups)

* port

* pep8

* dabl -> sklearn

* add _required_parameters

* skipping check in rst file if pandas not installed

* Update sklearn/model_selection/_search_successive_halving.py

Co-Authored-By: Joel Nothman <joel.nothman@gmail.com>

* renamed into GridHalvingSearchCV and RandomHalvingSearchCV

* Addressed thomas' comments

* repr

* removed passing group as a parameter to evaluate_candidates

* Joels comments

* pep8

* reorganized user user guide

* renaming

* update user guide

* remove groups support + pass fit_params

* parameter renaming

* pep8

* r_i -> resource_iter

* fixed r_i issues

* examples + removed use of word budget

* Added inpute checking tests

* added cv_resutlts_ user guide

* minor title change

* fixed doc layout

* Addressed some comments

* properly pass down fit_params

* change default value of force_exhaust_resources and update doc

* should fix doc

* Used check_fit_params

* Update section about min_resources and number of candidates

* Clarified ratio section

* Use ~ to refer to classes

* fixed doc checks

* Apply suggestions from code review

Co-authored-by: Joel Nothman <joel.nothman@gmail.com>

* Addressed easy comments from Joel

* missed some

* updated docstring of run_search

* Used f strings instead of format

* remove candidate duplication checks

* fix example

* Addressed easy comments

* rotate ticks labels

* Added discussion in the intro as suggested by Joel

* Split examples into sections

* minor changes

* remove force_exhaust_budget and introduce min_resources=exhaust

* some minor validation

* Added a n_resources_ attribute

* update examples

* Addressed comments

* passing CV instead of X,y

* minor revert for handling fit_params

* updated docs

* fix len

* whatsnew

* Add test for sampling when all_list

* minor change to top-k

* Force CV splits to be consistent across calls

* reorder parameters

* reduced diff

* added tests for top_k

* put back doc for groups

* not sure what went wrong

* put import at its place

* some comment

* Addressed comments

* Added tests for cv_results_ and base estimator inputs

* pep8

* avoid monkeypatching

* rename df

* use Joel's suggestions for testing masks

* Made it experimental

* Should fix docs

* whats new entry

* Apply suggestions from code review

Co-authored-by: Andreas Mueller <t3kcit@gmail.com>

* Addressed comments to docs

* Addressed comments in examples

* minor doc update

* minor renaming in UG

* forgot some

* some sad note about splitter statefulness :'(

* Addressed comments

* ratio -> factor

Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
2020-09-09 17:12:35 +02:00
Nicolas Hug 8061aace11
FIX DOC MNT Big revamp of cross-decomposition module (#17095) 2020-08-31 12:38:39 -04:00
Maren Westermann 4c314923de
DOC alphas_ documentation of LassoLarsIC (#18224) 2020-08-31 10:12:07 +02:00
Nicolas Hug 5bf37e8425
FEA Add sequential feature selection transformer (#17159)
Co-authored-by: rasbt <mail@sebastianraschka.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-21 19:57:05 +02:00
Jérémie du Boisberranger 5d2107e999
DOC document and deprecate missing attributes in MiniBatchKMeans (#17864) 2020-07-12 16:29:44 +02:00
Shail Shah a293a6ce7c
DOC added attributes in LassoLarsCV (#17838) 2020-07-10 12:33:06 +02:00
Yashika Sharma 0edfedb532
DOC Added missing attributes to OneVsRest Classifier (#17844)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-07-10 10:30:14 +02:00
Thomas J. Fan 233f2ce052
DEP deprecate grid_score_ and cv_alphas_ in GraphicalLassoCV (#16392)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-07-09 11:14:02 +02:00
t-kusanagi2 3c6db87ce2
DOC Add missing attrributes in ElasticNet and etc (#17740)
Co-authored-by: BenjaminLiu <imbenliu@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-07-06 15:44:33 +02:00
Juan Carlos Alfaro Jiménez 3561802bdc
MNT Deprecate coef_ and intercept_ in naive bayes estimators (#17427) 2020-07-05 21:03:30 +10:00
Jie Zheng 3491e07044
DOC add missing attributes to LocalOutlierFactor (#17696)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-26 09:52:02 +02:00
Kendrick Cetina 2c7107089c
DOC improve attributes and parameters descriptions in RFE and RFECV (#17721)
Co-authored-by: Beatriz San Miguel <beatriz.sanmiguelgonzalez@uk.fujitsu.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-25 18:46:31 +02:00
Jie Zheng e781ae8e3c
DOC add missing attributes to MDS (#17697) 2020-06-25 10:12:51 +02:00
Naoki Hamada 7cc8503919
DOC add missing attributes in KernelDensity (#17705)
Co-authored-by: Naoki Hamada <hamada-naoki@jp.fujitsu.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2020-06-24 21:23:09 +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
Kendrick Cetina 4a97ad49c1
DOC add missing attributes in GaussianProcessClassifier (#17698)
Co-authored-by: Beatriz San Miguel <beatriz.sanmiguelgonzalez@uk.fujitsu.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-24 18:38:28 +02:00
simonamaggio 683b3e51ee
DOC add missing attributes in GradientBoostingRegressor (#17671) 2020-06-24 08:56:47 +02:00
Louis Douge aec1f6dc09
DOC Adding missing attributes to the MLP classes docstring (#17669)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-06-24 08:54:43 +02:00