Commit Graph

355 Commits

Author SHA1 Message Date
Christian Lorentzen 75a94f518f
ENH migrate GLMs / TweedieRegressor to linear loss (#22548)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-03-28 19:20:01 -04:00
iofall ff1c6f3a92
FIX Remove validation from __init__ and set_params for ColumnTransformer (#22537)
Co-authored-by: iofall <50991099+iofall@users.noreply.github.com>
Co-authored-by: arisayosh <15692997+arisayosh@users.noreply.github.com>
2022-03-09 11:56:06 +01:00
Jérémie du Boisberranger d135a0f8db
MNT additional cleaning in test for 1.1 (#22661) 2022-03-03 10:31:02 +01:00
Thomas J. Fan d7feac0ccf
ENH Adds feature_names_out to preprocessing module (#21079)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: 赵丰 (Zhao Feng) <616545598@qq.com>
Co-authored-by: Niket Jain <51831161+nikJ13@users.noreply.github.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-02-07 12:09:57 +01:00
Thomas J. Fan 00a39a3d1a
ENH Adds get_feature_names to neural_network module (#22248)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-02-04 15:41:03 +01:00
Thomas J. Fan 8991c3d787
ENH Adds get_feature_names to isotonic module (#22249) 2022-02-01 17:50:29 +01:00
iofall faff01b38f
FIX Remove validation for FeatureUnion from __init__ (#21954)
Co-authored-by: iofall <50991099+iofall@users.noreply.github.com>
Co-authored-by: arisayosh <15692997+arisayosh@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-31 11:20:11 +01:00
Thomas J. Fan 3fd84f7a0b
ENH Adds get_feature_names to manifold module (#22254) 2022-01-28 15:06:19 +01:00
Thomas J. Fan 5219b6f479
ENH Adds get_feature_names to cluster module (#22255) 2022-01-28 14:58:23 +01:00
Micky774 330881a21c
ENH Adds get_feature_names_out to neighbors module (#22212)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-20 17:13:12 -05:00
Thomas J. Fan 6c2718b82e
ENH Adds get_feature_names_out for cross_decomposition (#22119)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-04 16:04:35 +01:00
Thomas J. Fan 5c675183d8
ENH Adds get_feature_names_out for discriminant_analysis (#22120) 2022-01-04 11:54:05 +01:00
MrinalTyagi 7774697ea5
FIX GridSearchCV and HalvingGridSearchCV remove validation from __init__ and set_params (#21880)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-12-15 11:34:22 +01:00
Hannah Bohle 4b5ea125ed
FIX Remove validation in FeatureHasher's __init__ (#21573)
Co-authored-by: Maren Westermann <maren.westermann@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-14 18:51:22 +01:00
Arisa 0110921352
FIX Removes validation in __init__ for Pipeline (#21888)
Co-authored-by: arisayosh <15692997+arisayosh@users.noreply.github.com>
Co-authored-by: iofall <50991099+iofall@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-12-10 14:08:39 -05:00
Thomas J. Fan 071f98f0a7
FIX Remove warnings when fitting a dataframe (#21578)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-11-29 17:55:37 +01:00
Haya a8bd6d21c5
FIX validate parameter in 'fit' for 'FactorAnalysis' (#21713) 2021-11-26 14:00:45 -05:00
MaggieChege 87c330d5ff
FIX check that parameters validation happen in fit for KernelPCA (#21567)
Co-authored-by: ciku <maggie@hellotractor.com>
2021-11-15 08:37:18 +01:00
Haidar Almubarak 8d3304a866
FIX validate parameters in `fit` in all SVM estimators (#21436)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-11-05 17:03:32 +01:00
Christian Ritter a2ca3ae3bb
[MRG] Removes input validation radiusneighborsclassifier (#21518)
Co-authored-by: Fortune Uwha <fortune.uwha@gmail.com>
Co-authored-by:  Thomas J. Fan <thomasjpfan@gmail.com>
2021-11-05 16:18:17 +01:00
Loïc Estève b07b2273e4
ENH Add get_feature_names_out for random_projection module (#21330) 2021-11-03 15:49:46 +01:00
krumetoft c241fe7e5e
FIX validate in `fit` for `LabelBinarizer` estimator (#21434)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-11-02 11:26:02 +01:00
Thomas J. Fan 87838c20cc
ENH Adds feature names out to decomposition module (#21334)
* ENH Adds feature names out to decomposition module

* DOC Adds whats enw

* REV Removes module not in decomposition

* ENH Uses a mixin

* REV Better merge
2021-10-27 13:08:37 +02:00
DessyVV aa675f9a80
FIX validate parameter if `fit` in `KernelDensity` estimator (#21430)
Co-Authored-By: Lucy Jiménez lucy.jimenez.chem@gmail.com
2021-10-24 11:06:26 +02:00
Hannah Bohle 6f720c5e12
FIX validate parameters in `fit` for `FastICA` (#21432)
Co-authored-by: Maren Westermann <maren.westermann@gmail.com>
2021-10-23 19:35:54 -04:00
Thomas J. Fan 6e7fc0ec09
ENH Smoke test for invalid parameters in __init__ and get_params (#21355) 2021-10-22 14:44:06 +02:00
Thomas J. Fan 8f621ade01
ENH Adds feature_names_out to impute module (#21078) 2021-10-21 14:39:29 +02:00
Haoyin Xu 5f6abe6f7d
MAINT remove duplicate category (#21056) 2021-09-15 11:53:42 -04:00
Thomas J. Fan 4abd9f2d9e
API Implements get_feature_names_out for transformers that support get_feature_names (#18444)
Co-authored-by: Andreas Mueller <andreas.mueller@columbia.edu>
Co-authored-by: Andreas Mueller <andreasmuellerml@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-09-07 10:56:57 +02:00
Thomas J. Fan cfc1695dec
BUG Corrects tag in TfidfTransformer (#20919) 2021-09-03 11:08:21 +02:00
Olivier Grisel 9fab35864f
Fix OvOClassifier.n_features_in_ and other unexpected warning at prediction time when checking feature_names_in_ (#20853)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-09-01 11:36:01 +02:00
Thomas J. Fan c5d9939203
ENH Adds feature_names_in_ to TransformedTargetRegressor (#20868) 2021-08-30 09:44:46 +02:00
Olivier Grisel 2a6426fb3f
Check feature_names_in_ for sklearn.model_selection (#20850)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-08-26 22:58:11 +02:00
Olivier Grisel 1398738f1b
Missing feature_names_in_ in tf-idf transformer's docstring (#20846) 2021-08-26 12:36:17 -04:00
Thomas J. Fan baa90d4b08
API Adds feature_names_in_ to kernel_approximation (#20841)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-26 18:01:38 +02:00
Olivier Grisel 270ac2e135
Check features_names_in_ in sklearn.multioutput (#20847) 2021-08-26 16:50:21 +02:00
Olivier Grisel 5c0f3a694e
ENH Adds feature_names_in_ to sklearn.semi_supervised (#20788) 2021-08-26 08:36:58 +02:00
Olivier Grisel d61662b625
ENH feature_names_in_ for sklearn.ensemble (#20818) 2021-08-25 23:40:54 +02:00
Thomas J. Fan 61653d3146
ENH Adds feature_names_in_ to pipeline and multiclass (#20780)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-25 23:36:48 +02:00
Thomas J. Fan 416898b7f4
ENH Adds Column name consistency (#18010)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-17 14:48:21 +02:00
Jack Liu 5562cc5d58
MNT: replace __file__ with importlib.resources (#20297)
(compat with pyOxidizer and zipapp)
2021-07-27 13:46:50 +02: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 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04: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
Guillaume Lemaitre 6484c4f0ec
TST add HalvingSearchCV to common test (#20203) 2021-06-15 18:16:50 +02:00
Guillaume Lemaitre a25382629b
TST make sure to test SearchCV on both classification and regression (#20202) 2021-06-09 11:22:59 +02: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
Guillaume Lemaitre bd7ebf5aed TST enable n_feature_in_ test for feature_extraction module 2021-06-03 13:34:48 +02:00