Commit Graph

24 Commits

Author SHA1 Message Date
Lorenz c913853779
MAINT Raise NotFittedError when using DictVectorizer without prior fitting (#24838)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-12-07 16:43:35 +00:00
Dimitri Papadopoulos Orfanos 0f43434e0c
DOC fix typos found by codespell (#27457) 2023-09-26 15:31:28 +02:00
Tialo 8eef0e767c
DOC Add links to text/plot_hashing_vs_dict_vectorizer.py example (#26967) 2023-08-24 15:28:14 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Jérémie du Boisberranger 9c266cf5d6
MAINT Param validation: decorate all estimators with _fit_context (#26473) 2023-06-14 16:52:35 +02:00
Alex Buzenet d85b1d3302
ENH Raise NotFittedError in get_feature_names_out for MissingIndicator, KBinsDiscretizer, SplineTransformer, DictVectorizer (#25402)
Co-authored-by: Alex <alex.buzenet.fr@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-01-23 10:59:14 -05:00
Thomas J. Fan aca8f20db4
CLN Remove unneeded variable definition in DictVectorizer.fit (#24590) 2022-10-06 17:11:46 +02:00
Jérémie du Boisberranger 2708aac034
MAINT Clean deprecation for 1.2: get_feature_names (#24395)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-10-03 09:46:10 +02:00
Thomas J. Fan 02ebf9e68f
MNT Adds dict typing hint to _parameter_constraints for mypy (#24301) 2022-08-30 11:01:10 +02:00
SangamSwadik 5a850eb044
MAINT Param validation for Dictvectorizer (#23820) 2022-07-06 15:57:42 +02: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 4cc9fece8b CLN Removes unneeded return 2021-09-01 18:04:55 -07:00
baam 7798fd829d
DOC Ensures that DictVectorizer passes numpydoc validation (#20837)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-31 18:57:38 +02:00
Jeff Zhao 64d54483ed
FIX raise a TypeError when the values type is not supported in DictVectorizer (#19520)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-07-30 17:46:18 +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
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
Guillaume Lemaitre eecde00c7a
FIX support multiple str/single category with dense DictVectorizer (#19982) 2021-04-27 11:38: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
Chiara Marmo 320b4c61f9
FEA Add iterable values support for dictvectorizer (#17367)
Co-authored-by: Peng Yu <peng.yu@shopify.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
2020-08-01 22:10:36 +10:00
Saurabh Jain 00bc681e10
DOC shorten class links in docstring using tilde (#17470)
* added tilde to bunch of files

* Updated _kde.py

Changed array_like to array-like

* Updated _kde.py

Removed space

* updated _kde.py

Added full stop

* PEP8

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-16 10:44:13 +02:00
Adrin Jalali 6cd77c2c50
API make feature_extraction's constructors' params kwonly (#16866) 2020-04-15 12:11:26 -04:00
@nkish 07ceb6e255 DOC follow doc guideline in ensemble an feature_extraction modules (#15975) 2020-01-03 15:32:54 +01:00
norvan 77aec1fb8d [MRG] Fix OverflowError on DictVectorizer (#15463) 2019-11-03 08:55:21 +11:00
Thomas J Fan bb3b3f9261 MNT Make modules private in feature_extraction (#15321) 2019-10-25 16:41:13 -04:00