Commit Graph

34 Commits

Author SHA1 Message Date
Olivier Grisel 279388d9ed
DOC Improve get_feature_names_out docstrings (#22718)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-03-07 13:02:12 -05:00
Maxwell dbcd4d5f39
FIX FunctionTransformer check_input fails for object type input (#19916)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-02-17 10:16:56 -05:00
Aurélien Geron d23d589587
ENH Add get_feature_names_out to FunctionTransformer (#21569) 2021-11-30 13:31:17 -05:00
Juan Martin Loyola fe9b706368
DOC fix hyperlinkg to MultiLabelBinarizer (#21331) 2021-10-20 17:26:27 +02:00
Thomas J. Fan ba58f3a693
BUG Fixes FunctionTransformer validation in inverse_transform (#20961) 2021-09-08 11:01:24 +02:00
baam 81362c2676
DOC Ensures that FunctionTransformer passes numpydoc validation (#20939) 2021-09-06 14:46:13 +02:00
Adrin Jalali 3e7c04fe2c
ENH check_is_fitted calls __is_fitted__ if available (#20657) 2021-08-20 12:37:22 +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
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
Sam Ezebunandu baf8beddf5
DOC standardized formatting for default values in transformer class. (#17505)
* DOC_standardized formatting for default values in transformer class.

* DOC_use type bool instead of boolean

Co-authored-by: Sam Ezebunandu <samuel.ezebunandu@outlook.com>
2020-06-06 17:04:12 -04: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
Thomas J Fan e54cd3c061
API Deprecate positional arguments in preprocessing (#16996)
* API Deprecate positional arguments in preprocessing

* CLN Address comments

* CLN Uses classes as a keyword only argument

* BUG Fix
2020-04-23 19:10:49 +02:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Tirth Patel bf5307bb63 DOC change deprecated:: with versionchanged:: (#15587) 2019-11-10 09:05:47 -06:00
Andrea Maldonado 5271695cec DOC Adds example for preprocessing.FunctionTransformer (#15192) 2019-10-15 16:21:48 -04:00
Nicolas Hug 20952722b6 MAINT correct no_validation tag for FunctionTransformer (#14895) 2019-09-09 20:17:00 -04:00
Andreas Mueller 03ea20db0f Fix mixin inheritance order, allow overwriting tags (#14884) 2019-09-05 10:13:30 +02:00
Thomas J Fan 21959b335c [MRG] MAINT Refactor removes assert from implmentation (#14609) 2019-08-13 07:57:10 +10:00
Guillaume Lemaitre 76ce7c5b63 DEP change default validate in FunctionTransformer to False(#13817) 2019-06-13 12:06:01 -04:00
Federico Caselli 457b0d0296 DOC Fix typo in FunctionTransformer (#13404) 2019-03-06 16:04:26 -08:00
Andreas Mueller ab2f539a32 API: Estimator tags (#8022) 2019-02-23 22:54:41 +01:00
Andreas Mueller 0f94f2962b
MNT simple deprecations and removals for 0.21 (#12238)
Part of #11992.
These were all the things that seemed pretty straight-forward. It's actually a bit bulky but should still be easy to review, hopefully.
2018-10-11 14:56:37 -04:00
Guillaume Lemaitre a2b56453e2 ENH Passthrough DataFrame in FunctionTransformer (#11043) 2018-07-10 17:48:03 +08:00
Guillaume Lemaitre 8472350e5c [MRG + 1] ENH add check_inverse in FunctionTransformer (#9399)
* EHN add check_inverse in FunctionTransformer

* Add whats new entry and short narrative doc

* Sparse support

* better handle sparse data

* Address andreas comments

* PEP8

* Absolute tolerance default

* DOC fix docstring

* Remove random state and make check_inverse deterministic

* FIX remove random_state from init

* PEP8

* DOC motivation for the inverse

* make check_inverse=True default with a warning

* PEP8

* FIX get back X from check_array

* Andread comments

* Update whats new

* remove blank line

* joel s comments

* no check if one of forward or inverse not provided

* DOC fixes and example of filterwarnings

* DOC fix warningfiltering

* DOC fix merge error git
2017-10-25 16:49:28 -04:00
(Venkat) Raghav, Rajagopalan 763d93b72e [MRG+1] Do not transform y (#9180)
* we do not transform y

* more

* added Deprecation Warning to transform() to remove Y parameter

* more

* ENH ensure FunctionTransformer's transform/inverse_transform doesn't permit y

* Undo changes to pls_. It will be done in a separate PR (see #9160)

* flake8

* Update whatsnew

* Fully undo PLS changes
2017-06-22 23:24:12 +02:00
Guillaume Lemaitre ed5bd4cb69 DOC add docstring to FunctionTransformer (#9058) 2017-06-08 15:16:05 +02:00
Josh Karnofsky 9551ec85ea DOC add spaces before colons in docstrings (#7589) 2016-10-06 14:01:12 +11:00
Shashank Shekhar 474483efa4 Added user guide link in function_tranformer docstring (#5785)
* Added user guide link in function_tranformer docstring

* Added function_transformer tag to preprocessing user guide
2016-09-12 18:33:22 -04:00
ningchi 1d487fb550 [MRG+1] issue #6532 Add `inverse_transform` function (#6570)
* [MRG+1] #6532 Add inverse_func argument to FunctionTransformer


* modify test:inverse_func is not true inverse
2016-04-12 01:26:30 -04:00
Brian McFee 318b93d2ae Implemented keyword arguments in FunctionTransformer 2015-12-19 23:00:35 -05:00
KamalakerDadi 2249daaea8 Version added for all new classes 2015-11-03 23:54:42 +01:00
Lars Buitinck b09afb08be DOC/MAINT final touches to FunctionTransformer
* copyedit doc
* give the module an underscore (we should do this to all private modules...)
* use public import path in test
* change all logs to log1p to prevent warning in test and because it's
  genuinely useful for frequency data
* what's new
2015-08-03 22:12:19 +02:00